function yx(i,o){for(var r=0;rc[f]})}}}return Object.freeze(Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}))}(function(){const o=document.createElement("link").relList;if(o&&o.supports&&o.supports("modulepreload"))return;for(const f of document.querySelectorAll('link[rel="modulepreload"]'))c(f);new MutationObserver(f=>{for(const m of f)if(m.type==="childList")for(const p of m.addedNodes)p.tagName==="LINK"&&p.rel==="modulepreload"&&c(p)}).observe(document,{childList:!0,subtree:!0});function r(f){const m={};return f.integrity&&(m.integrity=f.integrity),f.referrerPolicy&&(m.referrerPolicy=f.referrerPolicy),f.crossOrigin==="use-credentials"?m.credentials="include":f.crossOrigin==="anonymous"?m.credentials="omit":m.credentials="same-origin",m}function c(f){if(f.ep)return;f.ep=!0;const m=r(f);fetch(f.href,m)}})();function tg(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var Lr={exports:{}},Bi={};/** * @license React * react-jsx-runtime.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var fp;function bx(){if(fp)return Bi;fp=1;var i=Symbol.for("react.transitional.element"),o=Symbol.for("react.fragment");function r(c,f,m){var p=null;if(m!==void 0&&(p=""+m),f.key!==void 0&&(p=""+f.key),"key"in f){m={};for(var y in f)y!=="key"&&(m[y]=f[y])}else m=f;return f=m.ref,{$$typeof:i,type:c,key:p,ref:f!==void 0?f:null,props:m}}return Bi.Fragment=o,Bi.jsx=r,Bi.jsxs=r,Bi}var dp;function Sx(){return dp||(dp=1,Lr.exports=bx()),Lr.exports}var d=Sx(),kr={exports:{}},Ui={},qr={exports:{}},Yr={};/** * @license React * scheduler.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var mp;function Ex(){return mp||(mp=1,(function(i){function o(A,L){var _=A.length;A.push(L);e:for(;0<_;){var ie=_-1>>>1,ce=A[ie];if(0>>1;ief(B,_))Xf(F,B)?(A[ie]=F,A[X]=_,ie=X):(A[ie]=B,A[U]=_,ie=U);else if(Xf(F,_))A[ie]=F,A[X]=_,ie=X;else break e}}return L}function f(A,L){var _=A.sortIndex-L.sortIndex;return _!==0?_:A.id-L.id}if(i.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var m=performance;i.unstable_now=function(){return m.now()}}else{var p=Date,y=p.now();i.unstable_now=function(){return p.now()-y}}var v=[],x=[],S=1,h=null,N=3,z=!1,M=!1,q=!1,G=!1,V=typeof setTimeout=="function"?setTimeout:null,P=typeof clearTimeout=="function"?clearTimeout:null,J=typeof setImmediate<"u"?setImmediate:null;function W(A){for(var L=r(x);L!==null;){if(L.callback===null)c(x);else if(L.startTime<=A)c(x),L.sortIndex=L.expirationTime,o(v,L);else break;L=r(x)}}function I(A){if(q=!1,W(A),!M)if(r(v)!==null)M=!0,ne||(ne=!0,ge());else{var L=r(x);L!==null&&be(I,L.startTime-A)}}var ne=!1,Q=-1,Z=5,me=-1;function Se(){return G?!0:!(i.unstable_now()-meA&&Se());){var ie=h.callback;if(typeof ie=="function"){h.callback=null,N=h.priorityLevel;var ce=ie(h.expirationTime<=A);if(A=i.unstable_now(),typeof ce=="function"){h.callback=ce,W(A),L=!0;break t}h===r(v)&&c(v),W(A)}else c(v);h=r(v)}if(h!==null)L=!0;else{var E=r(x);E!==null&&be(I,E.startTime-A),L=!1}}break e}finally{h=null,N=_,z=!1}L=void 0}}finally{L?ge():ne=!1}}}var ge;if(typeof J=="function")ge=function(){J(Ce)};else if(typeof MessageChannel<"u"){var he=new MessageChannel,ve=he.port2;he.port1.onmessage=Ce,ge=function(){ve.postMessage(null)}}else ge=function(){V(Ce,0)};function be(A,L){Q=V(function(){A(i.unstable_now())},L)}i.unstable_IdlePriority=5,i.unstable_ImmediatePriority=1,i.unstable_LowPriority=4,i.unstable_NormalPriority=3,i.unstable_Profiling=null,i.unstable_UserBlockingPriority=2,i.unstable_cancelCallback=function(A){A.callback=null},i.unstable_forceFrameRate=function(A){0>A||125ie?(A.sortIndex=_,o(x,A),r(v)===null&&A===r(x)&&(q?(P(Q),Q=-1):q=!0,be(I,_-ie))):(A.sortIndex=ce,o(v,A),M||z||(M=!0,ne||(ne=!0,ge()))),A},i.unstable_shouldYield=Se,i.unstable_wrapCallback=function(A){var L=N;return function(){var _=N;N=L;try{return A.apply(this,arguments)}finally{N=_}}}})(Yr)),Yr}var pp;function wx(){return pp||(pp=1,qr.exports=Ex()),qr.exports}var Vr={exports:{}},de={};/** * @license React * react.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var gp;function Ax(){if(gp)return de;gp=1;var i=Symbol.for("react.transitional.element"),o=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),c=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),m=Symbol.for("react.consumer"),p=Symbol.for("react.context"),y=Symbol.for("react.forward_ref"),v=Symbol.for("react.suspense"),x=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),h=Symbol.for("react.activity"),N=Symbol.iterator;function z(E){return E===null||typeof E!="object"?null:(E=N&&E[N]||E["@@iterator"],typeof E=="function"?E:null)}var M={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},q=Object.assign,G={};function V(E,U,B){this.props=E,this.context=U,this.refs=G,this.updater=B||M}V.prototype.isReactComponent={},V.prototype.setState=function(E,U){if(typeof E!="object"&&typeof E!="function"&&E!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,E,U,"setState")},V.prototype.forceUpdate=function(E){this.updater.enqueueForceUpdate(this,E,"forceUpdate")};function P(){}P.prototype=V.prototype;function J(E,U,B){this.props=E,this.context=U,this.refs=G,this.updater=B||M}var W=J.prototype=new P;W.constructor=J,q(W,V.prototype),W.isPureReactComponent=!0;var I=Array.isArray;function ne(){}var Q={H:null,A:null,T:null,S:null},Z=Object.prototype.hasOwnProperty;function me(E,U,B){var X=B.ref;return{$$typeof:i,type:E,key:U,ref:X!==void 0?X:null,props:B}}function Se(E,U){return me(E.type,U,E.props)}function Ce(E){return typeof E=="object"&&E!==null&&E.$$typeof===i}function ge(E){var U={"=":"=0",":":"=2"};return"$"+E.replace(/[=:]/g,function(B){return U[B]})}var he=/\/+/g;function ve(E,U){return typeof E=="object"&&E!==null&&E.key!=null?ge(""+E.key):U.toString(36)}function be(E){switch(E.status){case"fulfilled":return E.value;case"rejected":throw E.reason;default:switch(typeof E.status=="string"?E.then(ne,ne):(E.status="pending",E.then(function(U){E.status==="pending"&&(E.status="fulfilled",E.value=U)},function(U){E.status==="pending"&&(E.status="rejected",E.reason=U)})),E.status){case"fulfilled":return E.value;case"rejected":throw E.reason}}throw E}function A(E,U,B,X,F){var se=typeof E;(se==="undefined"||se==="boolean")&&(E=null);var ae=!1;if(E===null)ae=!0;else switch(se){case"bigint":case"string":case"number":ae=!0;break;case"object":switch(E.$$typeof){case i:case o:ae=!0;break;case S:return ae=E._init,A(ae(E._payload),U,B,X,F)}}if(ae)return F=F(E),ae=X===""?"."+ve(E,0):X,I(F)?(B="",ae!=null&&(B=ae.replace(he,"$&/")+"/"),A(F,U,B,"",function(lt){return lt})):F!=null&&(Ce(F)&&(F=Se(F,B+(F.key==null||E&&E.key===F.key?"":(""+F.key).replace(he,"$&/")+"/")+ae)),U.push(F)),1;ae=0;var ue=X===""?".":X+":";if(I(E))for(var Ne=0;Ne"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(o){console.error(o)}}return i(),Gr.exports=Tx(),Gr.exports}/** * @license React * react-dom-client.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var yp;function Nx(){if(yp)return Ui;yp=1;var i=wx(),o=ho(),r=ag();function c(e){var t="https://react.dev/errors/"+e;if(1ce||(e.current=ie[ce],ie[ce]=null,ce--)}function B(e,t){ce++,ie[ce]=e.current,e.current=t}var X=E(null),F=E(null),se=E(null),ae=E(null);function ue(e,t){switch(B(se,t),B(F,e),B(X,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Dm(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Dm(t),e=Rm(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}U(X),B(X,e)}function Ne(){U(X),U(F),U(se)}function lt(e){e.memoizedState!==null&&B(ae,e);var t=X.current,a=Rm(t,e.type);t!==a&&(B(F,e),B(X,a))}function mt(e){F.current===e&&(U(X),U(F)),ae.current===e&&(U(ae),Mi._currentValue=_)}var nt,pa;function Ft(e){if(nt===void 0)try{throw Error()}catch(a){var t=a.stack.trim().match(/\n( *(at )?)/);nt=t&&t[1]||"",pa=-1)":-1n||b[l]!==C[n]){var R=` `+b[l].replace(" at new "," at ");return e.displayName&&R.includes("")&&(R=R.replace("",e.displayName)),R}while(1<=l&&0<=n);break}}}finally{Yn=!1,Error.prepareStackTrace=a}return(a=e?e.displayName||e.name:"")?Ft(a):""}function hl(e,t){switch(e.tag){case 26:case 27:case 5:return Ft(e.type);case 16:return Ft("Lazy");case 13:return e.child!==t&&t!==null?Ft("Suspense Fallback"):Ft("Suspense");case 19:return Ft("SuspenseList");case 0:case 15:return Xl(e.type,!1);case 11:return Xl(e.type.render,!1);case 1:return Xl(e.type,!0);case 31:return Ft("Activity");default:return""}}function Vn(e){try{var t="",a=null;do t+=hl(e,a),a=e,e=e.return;while(e);return t}catch(l){return` Error generating stack: `+l.message+` `+l.stack}}var Ht=Object.prototype.hasOwnProperty,Gn=i.unstable_scheduleCallback,Xn=i.unstable_cancelCallback,pt=i.unstable_shouldYield,ka=i.unstable_requestPaint,gt=i.unstable_now,No=i.unstable_getCurrentPriorityLevel,xl=i.unstable_ImmediatePriority,Xi=i.unstable_UserBlockingPriority,vl=i.unstable_NormalPriority,Qn=i.unstable_LowPriority,ga=i.unstable_IdlePriority,Qi=i.log,qa=i.unstable_setDisableYieldValue,yl=null,ht=null;function Wt(e){if(typeof Qi=="function"&&qa(e),ht&&typeof ht.setStrictMode=="function")try{ht.setStrictMode(yl,e)}catch{}}var ut=Math.clz32?Math.clz32:la,jo=Math.log,Zn=Math.LN2;function la(e){return e>>>=0,e===0?32:31-(jo(e)/Zn|0)|0}var Ql=256,Zl=262144,bl=4194304;function na(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function fe(e,t,a){var l=e.pendingLanes;if(l===0)return 0;var n=0,s=e.suspendedLanes,u=e.pingedLanes;e=e.warmLanes;var g=l&134217727;return g!==0?(l=g&~s,l!==0?n=na(l):(u&=g,u!==0?n=na(u):a||(a=g&~e,a!==0&&(n=na(a))))):(g=l&~s,g!==0?n=na(g):u!==0?n=na(u):a||(a=l&~e,a!==0&&(n=na(a)))),n===0?0:t!==0&&t!==n&&(t&s)===0&&(s=n&-n,a=t&-t,s>=a||s===32&&(a&4194048)!==0)?t:n}function Ye(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function et(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function ft(){var e=bl;return bl<<=1,(bl&62914560)===0&&(bl=4194304),e}function Ya(e){for(var t=[],a=0;31>a;a++)t.push(e);return t}function Ge(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function vt(e,t,a,l,n,s){var u=e.pendingLanes;e.pendingLanes=a,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=a,e.entangledLanes&=a,e.errorRecoveryDisabledLanes&=a,e.shellSuspendCounter=0;var g=e.entanglements,b=e.expirationTimes,C=e.hiddenUpdates;for(a=u&~a;0"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var mh=/[\n"\\]/g;function qt(e){return e.replace(mh,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Mo(e,t,a,l,n,s,u,g){e.name="",u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"?e.type=u:e.removeAttribute("type"),t!=null?u==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+kt(t)):e.value!==""+kt(t)&&(e.value=""+kt(t)):u!=="submit"&&u!=="reset"||e.removeAttribute("value"),t!=null?_o(e,u,kt(t)):a!=null?_o(e,u,kt(a)):l!=null&&e.removeAttribute("value"),n==null&&s!=null&&(e.defaultChecked=!!s),n!=null&&(e.checked=n&&typeof n!="function"&&typeof n!="symbol"),g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"?e.name=""+kt(g):e.removeAttribute("name")}function ju(e,t,a,l,n,s,u,g){if(s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"&&(e.type=s),t!=null||a!=null){if(!(s!=="submit"&&s!=="reset"||t!=null)){Oo(e);return}a=a!=null?""+kt(a):"",t=t!=null?""+kt(t):a,g||t===e.value||(e.value=t),e.defaultValue=t}l=l??n,l=typeof l!="function"&&typeof l!="symbol"&&!!l,e.checked=g?e.checked:!!l,e.defaultChecked=!!l,u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(e.name=u),Oo(e)}function _o(e,t,a){t==="number"&&Ji(e.ownerDocument)===e||e.defaultValue===""+a||(e.defaultValue=""+a)}function Il(e,t,a,l){if(e=e.options,t){t={};for(var n=0;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Lo=!1;if(va)try{var Wn={};Object.defineProperty(Wn,"passive",{get:function(){Lo=!0}}),window.addEventListener("test",Wn,Wn),window.removeEventListener("test",Wn,Wn)}catch{Lo=!1}var Ga=null,ko=null,Wi=null;function Du(){if(Wi)return Wi;var e,t=ko,a=t.length,l,n="value"in Ga?Ga.value:Ga.textContent,s=n.length;for(e=0;e=In),qu=" ",Yu=!1;function Vu(e,t){switch(e){case"keyup":return Yh.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Gu(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ln=!1;function Gh(e,t){switch(e){case"compositionend":return Gu(t);case"keypress":return t.which!==32?null:(Yu=!0,qu);case"textInput":return e=t.data,e===qu&&Yu?null:e;default:return null}}function Xh(e,t){if(ln)return e==="compositionend"||!Xo&&Vu(e,t)?(e=Du(),Wi=ko=Ga=null,ln=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:a,offset:t-e};e=l}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=$u(a)}}function Iu(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Iu(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function ef(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Ji(e.document);t instanceof e.HTMLIFrameElement;){try{var a=typeof t.contentWindow.location.href=="string"}catch{a=!1}if(a)e=t.contentWindow;else break;t=Ji(e.document)}return t}function Ko(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var Ph=va&&"documentMode"in document&&11>=document.documentMode,nn=null,Jo=null,li=null,Fo=!1;function tf(e,t,a){var l=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;Fo||nn==null||nn!==Ji(l)||(l=nn,"selectionStart"in l&&Ko(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),li&&ai(li,l)||(li=l,l=Gs(Jo,"onSelect"),0>=u,n-=u,ia=1<<32-ut(t)+n|a<xe?(Te=le,le=null):Te=le.sibling;var ze=H(T,le,j[xe],k);if(ze===null){le===null&&(le=Te);break}e&&le&&ze.alternate===null&&t(T,le),w=s(ze,w,xe),He===null?oe=ze:He.sibling=ze,He=ze,le=Te}if(xe===j.length)return a(T,le),je&&ba(T,xe),oe;if(le===null){for(;xexe?(Te=le,le=null):Te=le.sibling;var fl=H(T,le,ze.value,k);if(fl===null){le===null&&(le=Te);break}e&&le&&fl.alternate===null&&t(T,le),w=s(fl,w,xe),He===null?oe=fl:He.sibling=fl,He=fl,le=Te}if(ze.done)return a(T,le),je&&ba(T,xe),oe;if(le===null){for(;!ze.done;xe++,ze=j.next())ze=Y(T,ze.value,k),ze!==null&&(w=s(ze,w,xe),He===null?oe=ze:He.sibling=ze,He=ze);return je&&ba(T,xe),oe}for(le=l(le);!ze.done;xe++,ze=j.next())ze=D(le,T,xe,ze.value,k),ze!==null&&(e&&ze.alternate!==null&&le.delete(ze.key===null?xe:ze.key),w=s(ze,w,xe),He===null?oe=ze:He.sibling=ze,He=ze);return e&&le.forEach(function(vx){return t(T,vx)}),je&&ba(T,xe),oe}function Be(T,w,j,k){if(typeof j=="object"&&j!==null&&j.type===q&&j.key===null&&(j=j.props.children),typeof j=="object"&&j!==null){switch(j.$$typeof){case z:e:{for(var oe=j.key;w!==null;){if(w.key===oe){if(oe=j.type,oe===q){if(w.tag===7){a(T,w.sibling),k=n(w,j.props.children),k.return=T,T=k;break e}}else if(w.elementType===oe||typeof oe=="object"&&oe!==null&&oe.$$typeof===Z&&Ml(oe)===w.type){a(T,w.sibling),k=n(w,j.props),ri(k,j),k.return=T,T=k;break e}a(T,w);break}else t(T,w);w=w.sibling}j.type===q?(k=jl(j.props.children,T.mode,k,j.key),k.return=T,T=k):(k=ss(j.type,j.key,j.props,null,T.mode,k),ri(k,j),k.return=T,T=k)}return u(T);case M:e:{for(oe=j.key;w!==null;){if(w.key===oe)if(w.tag===4&&w.stateNode.containerInfo===j.containerInfo&&w.stateNode.implementation===j.implementation){a(T,w.sibling),k=n(w,j.children||[]),k.return=T,T=k;break e}else{a(T,w);break}else t(T,w);w=w.sibling}k=ac(j,T.mode,k),k.return=T,T=k}return u(T);case Z:return j=Ml(j),Be(T,w,j,k)}if(be(j))return $(T,w,j,k);if(ge(j)){if(oe=ge(j),typeof oe!="function")throw Error(c(150));return j=oe.call(j),re(T,w,j,k)}if(typeof j.then=="function")return Be(T,w,ms(j),k);if(j.$$typeof===J)return Be(T,w,rs(T,j),k);ps(T,j)}return typeof j=="string"&&j!==""||typeof j=="number"||typeof j=="bigint"?(j=""+j,w!==null&&w.tag===6?(a(T,w.sibling),k=n(w,j),k.return=T,T=k):(a(T,w),k=tc(j,T.mode,k),k.return=T,T=k),u(T)):a(T,w)}return function(T,w,j,k){try{ci=0;var oe=Be(T,w,j,k);return hn=null,oe}catch(le){if(le===gn||le===fs)throw le;var He=Ot(29,le,null,T.mode);return He.lanes=k,He.return=T,He}finally{}}}var Dl=Tf(!0),Nf=Tf(!1),Ja=!1;function pc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function gc(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Fa(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Wa(e,t,a){var l=e.updateQueue;if(l===null)return null;if(l=l.shared,(Oe&2)!==0){var n=l.pending;return n===null?t.next=t:(t.next=n.next,n.next=t),l.pending=t,t=is(e),rf(e,null,a),t}return ns(e,l,t,a),is(e)}function ui(e,t,a){if(t=t.updateQueue,t!==null&&(t=t.shared,(a&4194048)!==0)){var l=t.lanes;l&=e.pendingLanes,a|=l,t.lanes=a,yt(e,a)}}function hc(e,t){var a=e.updateQueue,l=e.alternate;if(l!==null&&(l=l.updateQueue,a===l)){var n=null,s=null;if(a=a.firstBaseUpdate,a!==null){do{var u={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};s===null?n=s=u:s=s.next=u,a=a.next}while(a!==null);s===null?n=s=t:s=s.next=t}else n=s=t;a={baseState:l.baseState,firstBaseUpdate:n,lastBaseUpdate:s,shared:l.shared,callbacks:l.callbacks},e.updateQueue=a;return}e=a.lastBaseUpdate,e===null?a.firstBaseUpdate=t:e.next=t,a.lastBaseUpdate=t}var xc=!1;function fi(){if(xc){var e=pn;if(e!==null)throw e}}function di(e,t,a,l){xc=!1;var n=e.updateQueue;Ja=!1;var s=n.firstBaseUpdate,u=n.lastBaseUpdate,g=n.shared.pending;if(g!==null){n.shared.pending=null;var b=g,C=b.next;b.next=null,u===null?s=C:u.next=C,u=b;var R=e.alternate;R!==null&&(R=R.updateQueue,g=R.lastBaseUpdate,g!==u&&(g===null?R.firstBaseUpdate=C:g.next=C,R.lastBaseUpdate=b))}if(s!==null){var Y=n.baseState;u=0,R=C=b=null,g=s;do{var H=g.lane&-536870913,D=H!==g.lane;if(D?(Ae&H)===H:(l&H)===H){H!==0&&H===mn&&(xc=!0),R!==null&&(R=R.next={lane:0,tag:g.tag,payload:g.payload,callback:null,next:null});e:{var $=e,re=g;H=t;var Be=a;switch(re.tag){case 1:if($=re.payload,typeof $=="function"){Y=$.call(Be,Y,H);break e}Y=$;break e;case 3:$.flags=$.flags&-65537|128;case 0:if($=re.payload,H=typeof $=="function"?$.call(Be,Y,H):$,H==null)break e;Y=h({},Y,H);break e;case 2:Ja=!0}}H=g.callback,H!==null&&(e.flags|=64,D&&(e.flags|=8192),D=n.callbacks,D===null?n.callbacks=[H]:D.push(H))}else D={lane:H,tag:g.tag,payload:g.payload,callback:g.callback,next:null},R===null?(C=R=D,b=Y):R=R.next=D,u|=H;if(g=g.next,g===null){if(g=n.shared.pending,g===null)break;D=g,g=D.next,D.next=null,n.lastBaseUpdate=D,n.shared.pending=null}}while(!0);R===null&&(b=Y),n.baseState=b,n.firstBaseUpdate=C,n.lastBaseUpdate=R,s===null&&(n.shared.lanes=0),tl|=u,e.lanes=u,e.memoizedState=Y}}function jf(e,t){if(typeof e!="function")throw Error(c(191,e));e.call(t)}function Cf(e,t){var a=e.callbacks;if(a!==null)for(e.callbacks=null,e=0;es?s:8;var u=A.T,g={};A.T=g,Bc(e,!1,t,a);try{var b=n(),C=A.S;if(C!==null&&C(g,b),b!==null&&typeof b=="object"&&typeof b.then=="function"){var R=o0(b,l);gi(e,t,R,Bt(e))}else gi(e,t,l,Bt(e))}catch(Y){gi(e,t,{then:function(){},status:"rejected",reason:Y},Bt())}finally{L.p=s,u!==null&&g.types!==null&&(u.types=g.types),A.T=u}}function m0(){}function Dc(e,t,a,l){if(e.tag!==5)throw Error(c(476));var n=sd(e).queue;id(e,n,t,_,a===null?m0:function(){return od(e),a(l)})}function sd(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:_,baseState:_,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Aa,lastRenderedState:_},next:null};var a={};return t.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Aa,lastRenderedState:a},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function od(e){var t=sd(e);t.next===null&&(t=e.alternate.memoizedState),gi(e,t.next.queue,{},Bt())}function Rc(){return ot(Mi)}function cd(){return Ke().memoizedState}function rd(){return Ke().memoizedState}function p0(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var a=Bt();e=Fa(a);var l=Wa(t,e,a);l!==null&&(jt(l,t,a),ui(l,t,a)),t={cache:uc()},e.payload=t;return}t=t.return}}function g0(e,t,a){var l=Bt();a={lane:l,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},As(e)?fd(t,a):(a=Io(e,t,a,l),a!==null&&(jt(a,e,l),dd(a,t,l)))}function ud(e,t,a){var l=Bt();gi(e,t,a,l)}function gi(e,t,a,l){var n={lane:l,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(As(e))fd(t,n);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var u=t.lastRenderedState,g=s(u,a);if(n.hasEagerState=!0,n.eagerState=g,zt(g,u))return ns(e,t,n,0),Le===null&&ls(),!1}catch{}finally{}if(a=Io(e,t,n,l),a!==null)return jt(a,e,l),dd(a,t,l),!0}return!1}function Bc(e,t,a,l){if(l={lane:2,revertLane:pr(),gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},As(e)){if(t)throw Error(c(479))}else t=Io(e,a,l,2),t!==null&&jt(t,e,2)}function As(e){var t=e.alternate;return e===pe||t!==null&&t===pe}function fd(e,t){vn=xs=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function dd(e,t,a){if((a&4194048)!==0){var l=t.lanes;l&=e.pendingLanes,a|=l,t.lanes=a,yt(e,a)}}var hi={readContext:ot,use:bs,useCallback:Xe,useContext:Xe,useEffect:Xe,useImperativeHandle:Xe,useLayoutEffect:Xe,useInsertionEffect:Xe,useMemo:Xe,useReducer:Xe,useRef:Xe,useState:Xe,useDebugValue:Xe,useDeferredValue:Xe,useTransition:Xe,useSyncExternalStore:Xe,useId:Xe,useHostTransitionStatus:Xe,useFormState:Xe,useActionState:Xe,useOptimistic:Xe,useMemoCache:Xe,useCacheRefresh:Xe};hi.useEffectEvent=Xe;var md={readContext:ot,use:bs,useCallback:function(e,t){return xt().memoizedState=[e,t===void 0?null:t],e},useContext:ot,useEffect:Wf,useImperativeHandle:function(e,t,a){a=a!=null?a.concat([e]):null,Es(4194308,4,ed.bind(null,t,e),a)},useLayoutEffect:function(e,t){return Es(4194308,4,e,t)},useInsertionEffect:function(e,t){Es(4,2,e,t)},useMemo:function(e,t){var a=xt();t=t===void 0?null:t;var l=e();if(Rl){Wt(!0);try{e()}finally{Wt(!1)}}return a.memoizedState=[l,t],l},useReducer:function(e,t,a){var l=xt();if(a!==void 0){var n=a(t);if(Rl){Wt(!0);try{a(t)}finally{Wt(!1)}}}else n=t;return l.memoizedState=l.baseState=n,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},l.queue=e,e=e.dispatch=g0.bind(null,pe,e),[l.memoizedState,e]},useRef:function(e){var t=xt();return e={current:e},t.memoizedState=e},useState:function(e){e=Hc(e);var t=e.queue,a=ud.bind(null,pe,t);return t.dispatch=a,[e.memoizedState,a]},useDebugValue:Mc,useDeferredValue:function(e,t){var a=xt();return _c(a,e,t)},useTransition:function(){var e=Hc(!1);return e=id.bind(null,pe,e.queue,!0,!1),xt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,a){var l=pe,n=xt();if(je){if(a===void 0)throw Error(c(407));a=a()}else{if(a=t(),Le===null)throw Error(c(349));(Ae&127)!==0||Df(l,t,a)}n.memoizedState=a;var s={value:a,getSnapshot:t};return n.queue=s,Wf(Bf.bind(null,l,s,e),[e]),l.flags|=2048,bn(9,{destroy:void 0},Rf.bind(null,l,s,a,t),null),a},useId:function(){var e=xt(),t=Le.identifierPrefix;if(je){var a=sa,l=ia;a=(l&~(1<<32-ut(l)-1)).toString(32)+a,t="_"+t+"R_"+a,a=vs++,0<\/script>",s=s.removeChild(s.firstChild);break;case"select":s=typeof l.is=="string"?u.createElement("select",{is:l.is}):u.createElement("select"),l.multiple?s.multiple=!0:l.size&&(s.size=l.size);break;default:s=typeof l.is=="string"?u.createElement(n,{is:l.is}):u.createElement(n)}}s[it]=t,s[St]=l;e:for(u=t.child;u!==null;){if(u.tag===5||u.tag===6)s.appendChild(u.stateNode);else if(u.tag!==4&&u.tag!==27&&u.child!==null){u.child.return=u,u=u.child;continue}if(u===t)break e;for(;u.sibling===null;){if(u.return===null||u.return===t)break e;u=u.return}u.sibling.return=u.return,u=u.sibling}t.stateNode=s;e:switch(rt(s,n,l),n){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break e;case"img":l=!0;break e;default:l=!1}l&&Na(t)}}return qe(t),Wc(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,a),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==l&&Na(t);else{if(typeof l!="string"&&t.stateNode===null)throw Error(c(166));if(e=se.current,fn(t)){if(e=t.stateNode,a=t.memoizedProps,l=null,n=st,n!==null)switch(n.tag){case 27:case 5:l=n.memoizedProps}e[it]=t,e=!!(e.nodeValue===a||l!==null&&l.suppressHydrationWarning===!0||Mm(e.nodeValue,a)),e||Za(t,!0)}else e=Xs(e).createTextNode(l),e[it]=t,t.stateNode=e}return qe(t),null;case 31:if(a=t.memoizedState,e===null||e.memoizedState!==null){if(l=fn(t),a!==null){if(e===null){if(!l)throw Error(c(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(c(557));e[it]=t}else Cl(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;qe(t),e=!1}else a=sc(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),e=!0;if(!e)return t.flags&256?(_t(t),t):(_t(t),null);if((t.flags&128)!==0)throw Error(c(558))}return qe(t),null;case 13:if(l=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(n=fn(t),l!==null&&l.dehydrated!==null){if(e===null){if(!n)throw Error(c(318));if(n=t.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(c(317));n[it]=t}else Cl(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;qe(t),n=!1}else n=sc(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),n=!0;if(!n)return t.flags&256?(_t(t),t):(_t(t),null)}return _t(t),(t.flags&128)!==0?(t.lanes=a,t):(a=l!==null,e=e!==null&&e.memoizedState!==null,a&&(l=t.child,n=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(n=l.alternate.memoizedState.cachePool.pool),s=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(s=l.memoizedState.cachePool.pool),s!==n&&(l.flags|=2048)),a!==e&&a&&(t.child.flags|=8192),Hs(t,t.updateQueue),qe(t),null);case 4:return Ne(),e===null&&vr(t.stateNode.containerInfo),qe(t),null;case 10:return Ea(t.type),qe(t),null;case 19:if(U(Ze),l=t.memoizedState,l===null)return qe(t),null;if(n=(t.flags&128)!==0,s=l.rendering,s===null)if(n)vi(l,!1);else{if(Qe!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(s=hs(e),s!==null){for(t.flags|=128,vi(l,!1),e=s.updateQueue,t.updateQueue=e,Hs(t,e),t.subtreeFlags=0,e=a,a=t.child;a!==null;)uf(a,e),a=a.sibling;return B(Ze,Ze.current&1|2),je&&ba(t,l.treeForkCount),t.child}e=e.sibling}l.tail!==null&>()>Ds&&(t.flags|=128,n=!0,vi(l,!1),t.lanes=4194304)}else{if(!n)if(e=hs(s),e!==null){if(t.flags|=128,n=!0,e=e.updateQueue,t.updateQueue=e,Hs(t,e),vi(l,!0),l.tail===null&&l.tailMode==="hidden"&&!s.alternate&&!je)return qe(t),null}else 2*gt()-l.renderingStartTime>Ds&&a!==536870912&&(t.flags|=128,n=!0,vi(l,!1),t.lanes=4194304);l.isBackwards?(s.sibling=t.child,t.child=s):(e=l.last,e!==null?e.sibling=s:t.child=s,l.last=s)}return l.tail!==null?(e=l.tail,l.rendering=e,l.tail=e.sibling,l.renderingStartTime=gt(),e.sibling=null,a=Ze.current,B(Ze,n?a&1|2:a&1),je&&ba(t,l.treeForkCount),e):(qe(t),null);case 22:case 23:return _t(t),yc(),l=t.memoizedState!==null,e!==null?e.memoizedState!==null!==l&&(t.flags|=8192):l&&(t.flags|=8192),l?(a&536870912)!==0&&(t.flags&128)===0&&(qe(t),t.subtreeFlags&6&&(t.flags|=8192)):qe(t),a=t.updateQueue,a!==null&&Hs(t,a.retryQueue),a=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),l=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),l!==a&&(t.flags|=2048),e!==null&&U(Ol),null;case 24:return a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),Ea(Je),qe(t),null;case 25:return null;case 30:return null}throw Error(c(156,t.tag))}function b0(e,t){switch(nc(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Ea(Je),Ne(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return mt(t),null;case 31:if(t.memoizedState!==null){if(_t(t),t.alternate===null)throw Error(c(340));Cl()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(_t(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(c(340));Cl()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return U(Ze),null;case 4:return Ne(),null;case 10:return Ea(t.type),null;case 22:case 23:return _t(t),yc(),e!==null&&U(Ol),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Ea(Je),null;case 25:return null;default:return null}}function Ud(e,t){switch(nc(t),t.tag){case 3:Ea(Je),Ne();break;case 26:case 27:case 5:mt(t);break;case 4:Ne();break;case 31:t.memoizedState!==null&&_t(t);break;case 13:_t(t);break;case 19:U(Ze);break;case 10:Ea(t.type);break;case 22:case 23:_t(t),yc(),e!==null&&U(Ol);break;case 24:Ea(Je)}}function yi(e,t){try{var a=t.updateQueue,l=a!==null?a.lastEffect:null;if(l!==null){var n=l.next;a=n;do{if((a.tag&e)===e){l=void 0;var s=a.create,u=a.inst;l=s(),u.destroy=l}a=a.next}while(a!==n)}}catch(g){_e(t,t.return,g)}}function Ia(e,t,a){try{var l=t.updateQueue,n=l!==null?l.lastEffect:null;if(n!==null){var s=n.next;l=s;do{if((l.tag&e)===e){var u=l.inst,g=u.destroy;if(g!==void 0){u.destroy=void 0,n=t;var b=a,C=g;try{C()}catch(R){_e(n,b,R)}}}l=l.next}while(l!==s)}}catch(R){_e(t,t.return,R)}}function Ld(e){var t=e.updateQueue;if(t!==null){var a=e.stateNode;try{Cf(t,a)}catch(l){_e(e,e.return,l)}}}function kd(e,t,a){a.props=Bl(e.type,e.memoizedProps),a.state=e.memoizedState;try{a.componentWillUnmount()}catch(l){_e(e,t,l)}}function bi(e,t){try{var a=e.ref;if(a!==null){switch(e.tag){case 26:case 27:case 5:var l=e.stateNode;break;case 30:l=e.stateNode;break;default:l=e.stateNode}typeof a=="function"?e.refCleanup=a(l):a.current=l}}catch(n){_e(e,t,n)}}function oa(e,t){var a=e.ref,l=e.refCleanup;if(a!==null)if(typeof l=="function")try{l()}catch(n){_e(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof a=="function")try{a(null)}catch(n){_e(e,t,n)}else a.current=null}function qd(e){var t=e.type,a=e.memoizedProps,l=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":a.autoFocus&&l.focus();break e;case"img":a.src?l.src=a.src:a.srcSet&&(l.srcset=a.srcSet)}}catch(n){_e(e,e.return,n)}}function $c(e,t,a){try{var l=e.stateNode;V0(l,e.type,a,t),l[St]=t}catch(n){_e(e,e.return,n)}}function Yd(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&sl(e.type)||e.tag===4}function Pc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Yd(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&sl(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Ic(e,t,a){var l=e.tag;if(l===5||l===6)e=e.stateNode,t?(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(e,t):(t=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,t.appendChild(e),a=a._reactRootContainer,a!=null||t.onclick!==null||(t.onclick=xa));else if(l!==4&&(l===27&&sl(e.type)&&(a=e.stateNode,t=null),e=e.child,e!==null))for(Ic(e,t,a),e=e.sibling;e!==null;)Ic(e,t,a),e=e.sibling}function zs(e,t,a){var l=e.tag;if(l===5||l===6)e=e.stateNode,t?a.insertBefore(e,t):a.appendChild(e);else if(l!==4&&(l===27&&sl(e.type)&&(a=e.stateNode),e=e.child,e!==null))for(zs(e,t,a),e=e.sibling;e!==null;)zs(e,t,a),e=e.sibling}function Vd(e){var t=e.stateNode,a=e.memoizedProps;try{for(var l=e.type,n=t.attributes;n.length;)t.removeAttributeNode(n[0]);rt(t,l,a),t[it]=e,t[St]=a}catch(s){_e(e,e.return,s)}}var ja=!1,$e=!1,er=!1,Gd=typeof WeakSet=="function"?WeakSet:Set,at=null;function S0(e,t){if(e=e.containerInfo,Sr=$s,e=ef(e),Ko(e)){if("selectionStart"in e)var a={start:e.selectionStart,end:e.selectionEnd};else e:{a=(a=e.ownerDocument)&&a.defaultView||window;var l=a.getSelection&&a.getSelection();if(l&&l.rangeCount!==0){a=l.anchorNode;var n=l.anchorOffset,s=l.focusNode;l=l.focusOffset;try{a.nodeType,s.nodeType}catch{a=null;break e}var u=0,g=-1,b=-1,C=0,R=0,Y=e,H=null;t:for(;;){for(var D;Y!==a||n!==0&&Y.nodeType!==3||(g=u+n),Y!==s||l!==0&&Y.nodeType!==3||(b=u+l),Y.nodeType===3&&(u+=Y.nodeValue.length),(D=Y.firstChild)!==null;)H=Y,Y=D;for(;;){if(Y===e)break t;if(H===a&&++C===n&&(g=u),H===s&&++R===l&&(b=u),(D=Y.nextSibling)!==null)break;Y=H,H=Y.parentNode}Y=D}a=g===-1||b===-1?null:{start:g,end:b}}else a=null}a=a||{start:0,end:0}}else a=null;for(Er={focusedElem:e,selectionRange:a},$s=!1,at=t;at!==null;)if(t=at,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,at=e;else for(;at!==null;){switch(t=at,s=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(a=0;a title"))),rt(s,l,a),s[it]=e,tt(s),l=s;break e;case"link":var u=Fm("link","href",n).get(l+(a.href||""));if(u){for(var g=0;gBe&&(u=Be,Be=re,re=u);var T=Pu(g,re),w=Pu(g,Be);if(T&&w&&(D.rangeCount!==1||D.anchorNode!==T.node||D.anchorOffset!==T.offset||D.focusNode!==w.node||D.focusOffset!==w.offset)){var j=Y.createRange();j.setStart(T.node,T.offset),D.removeAllRanges(),re>Be?(D.addRange(j),D.extend(w.node,w.offset)):(j.setEnd(w.node,w.offset),D.addRange(j))}}}}for(Y=[],D=g;D=D.parentNode;)D.nodeType===1&&Y.push({element:D,left:D.scrollLeft,top:D.scrollTop});for(typeof g.focus=="function"&&g.focus(),g=0;ga?32:a,A.T=null,a=or,or=null;var s=ll,u=Ma;if(Pe=0,Tn=ll=null,Ma=0,(Oe&6)!==0)throw Error(c(331));var g=Oe;if(Oe|=4,em(s.current),$d(s,s.current,u,a),Oe=g,Ni(0,!1),ht&&typeof ht.onPostCommitFiberRoot=="function")try{ht.onPostCommitFiberRoot(yl,s)}catch{}return!0}finally{L.p=n,A.T=l,vm(e,t)}}function bm(e,t,a){t=Vt(a,t),t=qc(e.stateNode,t,2),e=Wa(e,t,2),e!==null&&(Ge(e,2),ca(e))}function _e(e,t,a){if(e.tag===3)bm(e,e,a);else for(;t!==null;){if(t.tag===3){bm(t,e,a);break}else if(t.tag===1){var l=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(al===null||!al.has(l))){e=Vt(a,e),a=Sd(2),l=Wa(t,a,2),l!==null&&(Ed(a,l,t,e),Ge(l,2),ca(l));break}}t=t.return}}function fr(e,t,a){var l=e.pingCache;if(l===null){l=e.pingCache=new A0;var n=new Set;l.set(t,n)}else n=l.get(t),n===void 0&&(n=new Set,l.set(t,n));n.has(a)||(lr=!0,n.add(a),e=H0.bind(null,e,t,a),t.then(e,e))}function H0(e,t,a){var l=e.pingCache;l!==null&&l.delete(t),e.pingedLanes|=e.suspendedLanes&a,e.warmLanes&=~a,Le===e&&(Ae&a)===a&&(Qe===4||Qe===3&&(Ae&62914560)===Ae&&300>gt()-_s?(Oe&2)===0&&Nn(e,0):nr|=a,An===Ae&&(An=0)),ca(e)}function Sm(e,t){t===0&&(t=ft()),e=Nl(e,t),e!==null&&(Ge(e,t),ca(e))}function z0(e){var t=e.memoizedState,a=0;t!==null&&(a=t.retryLane),Sm(e,a)}function O0(e,t){var a=0;switch(e.tag){case 31:case 13:var l=e.stateNode,n=e.memoizedState;n!==null&&(a=n.retryLane);break;case 19:l=e.stateNode;break;case 22:l=e.stateNode._retryCache;break;default:throw Error(c(314))}l!==null&&l.delete(t),Sm(e,a)}function M0(e,t){return Gn(e,t)}var qs=null,Cn=null,dr=!1,Ys=!1,mr=!1,il=0;function ca(e){e!==Cn&&e.next===null&&(Cn===null?qs=Cn=e:Cn=Cn.next=e),Ys=!0,dr||(dr=!0,D0())}function Ni(e,t){if(!mr&&Ys){mr=!0;do for(var a=!1,l=qs;l!==null;){if(e!==0){var n=l.pendingLanes;if(n===0)var s=0;else{var u=l.suspendedLanes,g=l.pingedLanes;s=(1<<31-ut(42|e)+1)-1,s&=n&~(u&~g),s=s&201326741?s&201326741|1:s?s|2:0}s!==0&&(a=!0,Tm(l,s))}else s=Ae,s=fe(l,l===Le?s:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(s&3)===0||Ye(l,s)||(a=!0,Tm(l,s));l=l.next}while(a);mr=!1}}function _0(){Em()}function Em(){Ys=dr=!1;var e=0;il!==0&&X0()&&(e=il);for(var t=gt(),a=null,l=qs;l!==null;){var n=l.next,s=wm(l,t);s===0?(l.next=null,a===null?qs=n:a.next=n,n===null&&(Cn=a)):(a=l,(e!==0||(s&3)!==0)&&(Ys=!0)),l=n}Pe!==0&&Pe!==5||Ni(e),il!==0&&(il=0)}function wm(e,t){for(var a=e.suspendedLanes,l=e.pingedLanes,n=e.expirationTimes,s=e.pendingLanes&-62914561;0g)break;var R=b.transferSize,Y=b.initiatorType;R&&_m(Y)&&(b=b.responseEnd,u+=R*(b"u"?null:document;function Qm(e,t,a){var l=Hn;if(l&&typeof t=="string"&&t){var n=qt(t);n='link[rel="'+e+'"][href="'+n+'"]',typeof a=="string"&&(n+='[crossorigin="'+a+'"]'),Xm.has(n)||(Xm.add(n),e={rel:e,crossOrigin:a,href:t},l.querySelector(n)===null&&(t=l.createElement("link"),rt(t,"link",e),tt(t),l.head.appendChild(t)))}}function I0(e){_a.D(e),Qm("dns-prefetch",e,null)}function ex(e,t){_a.C(e,t),Qm("preconnect",e,t)}function tx(e,t,a){_a.L(e,t,a);var l=Hn;if(l&&e&&t){var n='link[rel="preload"][as="'+qt(t)+'"]';t==="image"&&a&&a.imageSrcSet?(n+='[imagesrcset="'+qt(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(n+='[imagesizes="'+qt(a.imageSizes)+'"]')):n+='[href="'+qt(e)+'"]';var s=n;switch(t){case"style":s=zn(e);break;case"script":s=On(e)}Jt.has(s)||(e=h({rel:"preload",href:t==="image"&&a&&a.imageSrcSet?void 0:e,as:t},a),Jt.set(s,e),l.querySelector(n)!==null||t==="style"&&l.querySelector(zi(s))||t==="script"&&l.querySelector(Oi(s))||(t=l.createElement("link"),rt(t,"link",e),tt(t),l.head.appendChild(t)))}}function ax(e,t){_a.m(e,t);var a=Hn;if(a&&e){var l=t&&typeof t.as=="string"?t.as:"script",n='link[rel="modulepreload"][as="'+qt(l)+'"][href="'+qt(e)+'"]',s=n;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":s=On(e)}if(!Jt.has(s)&&(e=h({rel:"modulepreload",href:e},t),Jt.set(s,e),a.querySelector(n)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(Oi(s)))return}l=a.createElement("link"),rt(l,"link",e),tt(l),a.head.appendChild(l)}}}function lx(e,t,a){_a.S(e,t,a);var l=Hn;if(l&&e){var n=$l(l).hoistableStyles,s=zn(e);t=t||"default";var u=n.get(s);if(!u){var g={loading:0,preload:null};if(u=l.querySelector(zi(s)))g.loading=5;else{e=h({rel:"stylesheet",href:e,"data-precedence":t},a),(a=Jt.get(s))&&Hr(e,a);var b=u=l.createElement("link");tt(b),rt(b,"link",e),b._p=new Promise(function(C,R){b.onload=C,b.onerror=R}),b.addEventListener("load",function(){g.loading|=1}),b.addEventListener("error",function(){g.loading|=2}),g.loading|=4,Zs(u,t,l)}u={type:"stylesheet",instance:u,count:1,state:g},n.set(s,u)}}}function nx(e,t){_a.X(e,t);var a=Hn;if(a&&e){var l=$l(a).hoistableScripts,n=On(e),s=l.get(n);s||(s=a.querySelector(Oi(n)),s||(e=h({src:e,async:!0},t),(t=Jt.get(n))&&zr(e,t),s=a.createElement("script"),tt(s),rt(s,"link",e),a.head.appendChild(s)),s={type:"script",instance:s,count:1,state:null},l.set(n,s))}}function ix(e,t){_a.M(e,t);var a=Hn;if(a&&e){var l=$l(a).hoistableScripts,n=On(e),s=l.get(n);s||(s=a.querySelector(Oi(n)),s||(e=h({src:e,async:!0,type:"module"},t),(t=Jt.get(n))&&zr(e,t),s=a.createElement("script"),tt(s),rt(s,"link",e),a.head.appendChild(s)),s={type:"script",instance:s,count:1,state:null},l.set(n,s))}}function Zm(e,t,a,l){var n=(n=se.current)?Qs(n):null;if(!n)throw Error(c(446));switch(e){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(t=zn(a.href),a=$l(n).hoistableStyles,l=a.get(t),l||(l={type:"style",instance:null,count:0,state:null},a.set(t,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){e=zn(a.href);var s=$l(n).hoistableStyles,u=s.get(e);if(u||(n=n.ownerDocument||n,u={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},s.set(e,u),(s=n.querySelector(zi(e)))&&!s._p&&(u.instance=s,u.state.loading=5),Jt.has(e)||(a={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy},Jt.set(e,a),s||sx(n,e,a,u.state))),t&&l===null)throw Error(c(528,""));return u}if(t&&l!==null)throw Error(c(529,""));return null;case"script":return t=a.async,a=a.src,typeof a=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=On(a),a=$l(n).hoistableScripts,l=a.get(t),l||(l={type:"script",instance:null,count:0,state:null},a.set(t,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(c(444,e))}}function zn(e){return'href="'+qt(e)+'"'}function zi(e){return'link[rel="stylesheet"]['+e+"]"}function Km(e){return h({},e,{"data-precedence":e.precedence,precedence:null})}function sx(e,t,a,l){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?l.loading=1:(t=e.createElement("link"),l.preload=t,t.addEventListener("load",function(){return l.loading|=1}),t.addEventListener("error",function(){return l.loading|=2}),rt(t,"link",a),tt(t),e.head.appendChild(t))}function On(e){return'[src="'+qt(e)+'"]'}function Oi(e){return"script[async]"+e}function Jm(e,t,a){if(t.count++,t.instance===null)switch(t.type){case"style":var l=e.querySelector('style[data-href~="'+qt(a.href)+'"]');if(l)return t.instance=l,tt(l),l;var n=h({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return l=(e.ownerDocument||e).createElement("style"),tt(l),rt(l,"style",n),Zs(l,a.precedence,e),t.instance=l;case"stylesheet":n=zn(a.href);var s=e.querySelector(zi(n));if(s)return t.state.loading|=4,t.instance=s,tt(s),s;l=Km(a),(n=Jt.get(n))&&Hr(l,n),s=(e.ownerDocument||e).createElement("link"),tt(s);var u=s;return u._p=new Promise(function(g,b){u.onload=g,u.onerror=b}),rt(s,"link",l),t.state.loading|=4,Zs(s,a.precedence,e),t.instance=s;case"script":return s=On(a.src),(n=e.querySelector(Oi(s)))?(t.instance=n,tt(n),n):(l=a,(n=Jt.get(s))&&(l=h({},a),zr(l,n)),e=e.ownerDocument||e,n=e.createElement("script"),tt(n),rt(n,"link",l),e.head.appendChild(n),t.instance=n);case"void":return null;default:throw Error(c(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(l=t.instance,t.state.loading|=4,Zs(l,a.precedence,e));return t.instance}function Zs(e,t,a){for(var l=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),n=l.length?l[l.length-1]:null,s=n,u=0;u title"):null)}function ox(e,t,a){if(a===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function $m(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function cx(e,t,a,l){if(a.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(a.state.loading&4)===0){if(a.instance===null){var n=zn(l.href),s=t.querySelector(zi(n));if(s){t=s._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Js.bind(e),t.then(e,e)),a.state.loading|=4,a.instance=s,tt(s);return}s=t.ownerDocument||t,l=Km(l),(n=Jt.get(n))&&Hr(l,n),s=s.createElement("link"),tt(s);var u=s;u._p=new Promise(function(g,b){u.onload=g,u.onerror=b}),rt(s,"link",l),a.instance=s}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(a,t),(t=a.state.preload)&&(a.state.loading&3)===0&&(e.count++,a=Js.bind(e),t.addEventListener("load",a),t.addEventListener("error",a))}}var Or=0;function rx(e,t){return e.stylesheets&&e.count===0&&Ws(e,e.stylesheets),0Or?50:800)+t);return e.unsuspend=a,function(){e.unsuspend=null,clearTimeout(l),clearTimeout(n)}}:null}function Js(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Ws(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Fs=null;function Ws(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Fs=new Map,t.forEach(ux,e),Fs=null,Js.call(e))}function ux(e,t){if(!(t.state.loading&4)){var a=Fs.get(e);if(a)var l=a.get(null);else{a=new Map,Fs.set(e,a);for(var n=e.querySelectorAll("link[data-precedence],style[data-precedence]"),s=0;s"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(o){console.error(o)}}return i(),kr.exports=Nx(),kr.exports}var Cx=jx(),O=ho();const K=tg(O),Hx=yx({__proto__:null,default:K},[O]);var zx=(i,o,r,c,f,m,p,y)=>{let v=document.documentElement,x=["light","dark"];function S(z){(Array.isArray(i)?i:[i]).forEach(M=>{let q=M==="class",G=q&&m?f.map(V=>m[V]||V):f;q?(v.classList.remove(...G),v.classList.add(m&&m[z]?m[z]:z)):v.setAttribute(M,z)}),h(z)}function h(z){y&&x.includes(z)&&(v.style.colorScheme=z)}function N(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}if(c)S(c);else try{let z=localStorage.getItem(o)||r,M=p&&z==="system"?N():z;S(M)}catch{}},Ox=O.createContext(void 0),Mx={setTheme:i=>{},themes:[]},_x=()=>{var i;return(i=O.useContext(Ox))!=null?i:Mx};O.memo(({forcedTheme:i,storageKey:o,attribute:r,enableSystem:c,enableColorScheme:f,defaultTheme:m,value:p,themes:y,nonce:v,scriptProps:x})=>{let S=JSON.stringify([r,o,m,i,y,p,c,f]).slice(1,-1);return O.createElement("script",{...x,suppressHydrationWarning:!0,nonce:typeof window>"u"?v:"",dangerouslySetInnerHTML:{__html:`(${zx.toString()})(${S})`}})});var ou=ag();const Dx=tg(ou);function Rx(i){if(typeof document>"u")return;let o=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",o.appendChild(r),r.styleSheet?r.styleSheet.cssText=i:r.appendChild(document.createTextNode(i))}const Bx=i=>{switch(i){case"success":return kx;case"info":return Yx;case"warning":return qx;case"error":return Vx;default:return null}},Ux=Array(12).fill(0),Lx=({visible:i,className:o})=>K.createElement("div",{className:["sonner-loading-wrapper",o].filter(Boolean).join(" "),"data-visible":i},K.createElement("div",{className:"sonner-spinner"},Ux.map((r,c)=>K.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${c}`})))),kx=K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},K.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),qx=K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},K.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),Yx=K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},K.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),Vx=K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},K.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),Gx=K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},K.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),K.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),Xx=()=>{const[i,o]=K.useState(document.hidden);return K.useEffect(()=>{const r=()=>{o(document.hidden)};return document.addEventListener("visibilitychange",r),()=>window.removeEventListener("visibilitychange",r)},[]),i};let $r=1;class Qx{constructor(){this.subscribe=o=>(this.subscribers.push(o),()=>{const r=this.subscribers.indexOf(o);this.subscribers.splice(r,1)}),this.publish=o=>{this.subscribers.forEach(r=>r(o))},this.addToast=o=>{this.publish(o),this.toasts=[...this.toasts,o]},this.create=o=>{var r;const{message:c,...f}=o,m=typeof o?.id=="number"||((r=o.id)==null?void 0:r.length)>0?o.id:$r++,p=this.toasts.find(v=>v.id===m),y=o.dismissible===void 0?!0:o.dismissible;return this.dismissedToasts.has(m)&&this.dismissedToasts.delete(m),p?this.toasts=this.toasts.map(v=>v.id===m?(this.publish({...v,...o,id:m,title:c}),{...v,...o,id:m,dismissible:y,title:c}):v):this.addToast({title:c,...f,dismissible:y,id:m}),m},this.dismiss=o=>(o?(this.dismissedToasts.add(o),requestAnimationFrame(()=>this.subscribers.forEach(r=>r({id:o,dismiss:!0})))):this.toasts.forEach(r=>{this.subscribers.forEach(c=>c({id:r.id,dismiss:!0}))}),o),this.message=(o,r)=>this.create({...r,message:o}),this.error=(o,r)=>this.create({...r,message:o,type:"error"}),this.success=(o,r)=>this.create({...r,type:"success",message:o}),this.info=(o,r)=>this.create({...r,type:"info",message:o}),this.warning=(o,r)=>this.create({...r,type:"warning",message:o}),this.loading=(o,r)=>this.create({...r,type:"loading",message:o}),this.promise=(o,r)=>{if(!r)return;let c;r.loading!==void 0&&(c=this.create({...r,promise:o,type:"loading",message:r.loading,description:typeof r.description!="function"?r.description:void 0}));const f=Promise.resolve(o instanceof Function?o():o);let m=c!==void 0,p;const y=f.then(async x=>{if(p=["resolve",x],K.isValidElement(x))m=!1,this.create({id:c,type:"default",message:x});else if(Kx(x)&&!x.ok){m=!1;const h=typeof r.error=="function"?await r.error(`HTTP error! status: ${x.status}`):r.error,N=typeof r.description=="function"?await r.description(`HTTP error! status: ${x.status}`):r.description,M=typeof h=="object"&&!K.isValidElement(h)?h:{message:h};this.create({id:c,type:"error",description:N,...M})}else if(x instanceof Error){m=!1;const h=typeof r.error=="function"?await r.error(x):r.error,N=typeof r.description=="function"?await r.description(x):r.description,M=typeof h=="object"&&!K.isValidElement(h)?h:{message:h};this.create({id:c,type:"error",description:N,...M})}else if(r.success!==void 0){m=!1;const h=typeof r.success=="function"?await r.success(x):r.success,N=typeof r.description=="function"?await r.description(x):r.description,M=typeof h=="object"&&!K.isValidElement(h)?h:{message:h};this.create({id:c,type:"success",description:N,...M})}}).catch(async x=>{if(p=["reject",x],r.error!==void 0){m=!1;const S=typeof r.error=="function"?await r.error(x):r.error,h=typeof r.description=="function"?await r.description(x):r.description,z=typeof S=="object"&&!K.isValidElement(S)?S:{message:S};this.create({id:c,type:"error",description:h,...z})}}).finally(()=>{m&&(this.dismiss(c),c=void 0),r.finally==null||r.finally.call(r)}),v=()=>new Promise((x,S)=>y.then(()=>p[0]==="reject"?S(p[1]):x(p[1])).catch(S));return typeof c!="string"&&typeof c!="number"?{unwrap:v}:Object.assign(c,{unwrap:v})},this.custom=(o,r)=>{const c=r?.id||$r++;return this.create({jsx:o(c),id:c,...r}),c},this.getActiveToasts=()=>this.toasts.filter(o=>!this.dismissedToasts.has(o.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}const Ct=new Qx,Zx=(i,o)=>{const r=o?.id||$r++;return Ct.addToast({title:i,...o,id:r}),r},Kx=i=>i&&typeof i=="object"&&"ok"in i&&typeof i.ok=="boolean"&&"status"in i&&typeof i.status=="number",Jx=Zx,Fx=()=>Ct.toasts,Wx=()=>Ct.getActiveToasts();Object.assign(Jx,{success:Ct.success,info:Ct.info,warning:Ct.warning,error:Ct.error,custom:Ct.custom,message:Ct.message,promise:Ct.promise,dismiss:Ct.dismiss,loading:Ct.loading},{getHistory:Fx,getToasts:Wx});Rx("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");function no(i){return i.label!==void 0}const $x=3,Px="24px",Ix="16px",Sp=4e3,ev=356,tv=14,av=45,lv=200;function ra(...i){return i.filter(Boolean).join(" ")}function nv(i){const[o,r]=i.split("-"),c=[];return o&&c.push(o),r&&c.push(r),c}const iv=i=>{var o,r,c,f,m,p,y,v,x;const{invert:S,toast:h,unstyled:N,interacting:z,setHeights:M,visibleToasts:q,heights:G,index:V,toasts:P,expanded:J,removeToast:W,defaultRichColors:I,closeButton:ne,style:Q,cancelButtonStyle:Z,actionButtonStyle:me,className:Se="",descriptionClassName:Ce="",duration:ge,position:he,gap:ve,expandByDefault:be,classNames:A,icons:L,closeButtonAriaLabel:_="Close toast"}=i,[ie,ce]=K.useState(null),[E,U]=K.useState(null),[B,X]=K.useState(!1),[F,se]=K.useState(!1),[ae,ue]=K.useState(!1),[Ne,lt]=K.useState(!1),[mt,nt]=K.useState(!1),[pa,Ft]=K.useState(0),[Yn,Xl]=K.useState(0),hl=K.useRef(h.duration||ge||Sp),Vn=K.useRef(null),Ht=K.useRef(null),Gn=V===0,Xn=V+1<=q,pt=h.type,ka=h.dismissible!==!1,gt=h.className||"",No=h.descriptionClassName||"",xl=K.useMemo(()=>G.findIndex(fe=>fe.toastId===h.id)||0,[G,h.id]),Xi=K.useMemo(()=>{var fe;return(fe=h.closeButton)!=null?fe:ne},[h.closeButton,ne]),vl=K.useMemo(()=>h.duration||ge||Sp,[h.duration,ge]),Qn=K.useRef(0),ga=K.useRef(0),Qi=K.useRef(0),qa=K.useRef(null),[yl,ht]=he.split("-"),Wt=K.useMemo(()=>G.reduce((fe,Ye,et)=>et>=xl?fe:fe+Ye.height,0),[G,xl]),ut=Xx(),jo=h.invert||S,Zn=pt==="loading";ga.current=K.useMemo(()=>xl*ve+Wt,[xl,Wt]),K.useEffect(()=>{hl.current=vl},[vl]),K.useEffect(()=>{X(!0)},[]),K.useEffect(()=>{const fe=Ht.current;if(fe){const Ye=fe.getBoundingClientRect().height;return Xl(Ye),M(et=>[{toastId:h.id,height:Ye,position:h.position},...et]),()=>M(et=>et.filter(ft=>ft.toastId!==h.id))}},[M,h.id]),K.useLayoutEffect(()=>{if(!B)return;const fe=Ht.current,Ye=fe.style.height;fe.style.height="auto";const et=fe.getBoundingClientRect().height;fe.style.height=Ye,Xl(et),M(ft=>ft.find(Ge=>Ge.toastId===h.id)?ft.map(Ge=>Ge.toastId===h.id?{...Ge,height:et}:Ge):[{toastId:h.id,height:et,position:h.position},...ft])},[B,h.title,h.description,M,h.id,h.jsx,h.action,h.cancel]);const la=K.useCallback(()=>{se(!0),Ft(ga.current),M(fe=>fe.filter(Ye=>Ye.toastId!==h.id)),setTimeout(()=>{W(h)},lv)},[h,W,M,ga]);K.useEffect(()=>{if(h.promise&&pt==="loading"||h.duration===1/0||h.type==="loading")return;let fe;return J||z||ut?(()=>{if(Qi.current{hl.current!==1/0&&(Qn.current=new Date().getTime(),fe=setTimeout(()=>{h.onAutoClose==null||h.onAutoClose.call(h,h),la()},hl.current))})(),()=>clearTimeout(fe)},[J,z,h,pt,ut,la]),K.useEffect(()=>{h.delete&&(la(),h.onDismiss==null||h.onDismiss.call(h,h))},[la,h.delete]);function Ql(){var fe;if(L?.loading){var Ye;return K.createElement("div",{className:ra(A?.loader,h==null||(Ye=h.classNames)==null?void 0:Ye.loader,"sonner-loader"),"data-visible":pt==="loading"},L.loading)}return K.createElement(Lx,{className:ra(A?.loader,h==null||(fe=h.classNames)==null?void 0:fe.loader),visible:pt==="loading"})}const Zl=h.icon||L?.[pt]||Bx(pt);var bl,na;return K.createElement("li",{tabIndex:0,ref:Ht,className:ra(Se,gt,A?.toast,h==null||(o=h.classNames)==null?void 0:o.toast,A?.default,A?.[pt],h==null||(r=h.classNames)==null?void 0:r[pt]),"data-sonner-toast":"","data-rich-colors":(bl=h.richColors)!=null?bl:I,"data-styled":!(h.jsx||h.unstyled||N),"data-mounted":B,"data-promise":!!h.promise,"data-swiped":mt,"data-removed":F,"data-visible":Xn,"data-y-position":yl,"data-x-position":ht,"data-index":V,"data-front":Gn,"data-swiping":ae,"data-dismissible":ka,"data-type":pt,"data-invert":jo,"data-swipe-out":Ne,"data-swipe-direction":E,"data-expanded":!!(J||be&&B),"data-testid":h.testId,style:{"--index":V,"--toasts-before":V,"--z-index":P.length-V,"--offset":`${F?pa:ga.current}px`,"--initial-height":be?"auto":`${Yn}px`,...Q,...h.style},onDragEnd:()=>{ue(!1),ce(null),qa.current=null},onPointerDown:fe=>{fe.button!==2&&(Zn||!ka||(Vn.current=new Date,Ft(ga.current),fe.target.setPointerCapture(fe.pointerId),fe.target.tagName!=="BUTTON"&&(ue(!0),qa.current={x:fe.clientX,y:fe.clientY})))},onPointerUp:()=>{var fe,Ye,et;if(Ne||!ka)return;qa.current=null;const ft=Number(((fe=Ht.current)==null?void 0:fe.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Ya=Number(((Ye=Ht.current)==null?void 0:Ye.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Ge=new Date().getTime()-((et=Vn.current)==null?void 0:et.getTime()),vt=ie==="x"?ft:Ya,Sl=Math.abs(vt)/Ge;if(Math.abs(vt)>=av||Sl>.11){Ft(ga.current),h.onDismiss==null||h.onDismiss.call(h,h),U(ie==="x"?ft>0?"right":"left":Ya>0?"down":"up"),la(),lt(!0);return}else{var yt,bt;(yt=Ht.current)==null||yt.style.setProperty("--swipe-amount-x","0px"),(bt=Ht.current)==null||bt.style.setProperty("--swipe-amount-y","0px")}nt(!1),ue(!1),ce(null)},onPointerMove:fe=>{var Ye,et,ft;if(!qa.current||!ka||((Ye=window.getSelection())==null?void 0:Ye.toString().length)>0)return;const Ge=fe.clientY-qa.current.y,vt=fe.clientX-qa.current.x;var Sl;const yt=(Sl=i.swipeDirections)!=null?Sl:nv(he);!ie&&(Math.abs(vt)>1||Math.abs(Ge)>1)&&ce(Math.abs(vt)>Math.abs(Ge)?"x":"y");let bt={x:0,y:0};const Kl=$t=>1/(1.5+Math.abs($t)/20);if(ie==="y"){if(yt.includes("top")||yt.includes("bottom"))if(yt.includes("top")&&Ge<0||yt.includes("bottom")&&Ge>0)bt.y=Ge;else{const $t=Ge*Kl(Ge);bt.y=Math.abs($t)0)bt.x=vt;else{const $t=vt*Kl(vt);bt.x=Math.abs($t)0||Math.abs(bt.y)>0)&&nt(!0),(et=Ht.current)==null||et.style.setProperty("--swipe-amount-x",`${bt.x}px`),(ft=Ht.current)==null||ft.style.setProperty("--swipe-amount-y",`${bt.y}px`)}},Xi&&!h.jsx&&pt!=="loading"?K.createElement("button",{"aria-label":_,"data-disabled":Zn,"data-close-button":!0,onClick:Zn||!ka?()=>{}:()=>{la(),h.onDismiss==null||h.onDismiss.call(h,h)},className:ra(A?.closeButton,h==null||(c=h.classNames)==null?void 0:c.closeButton)},(na=L?.close)!=null?na:Gx):null,(pt||h.icon||h.promise)&&h.icon!==null&&(L?.[pt]!==null||h.icon)?K.createElement("div",{"data-icon":"",className:ra(A?.icon,h==null||(f=h.classNames)==null?void 0:f.icon)},h.promise||h.type==="loading"&&!h.icon?h.icon||Ql():null,h.type!=="loading"?Zl:null):null,K.createElement("div",{"data-content":"",className:ra(A?.content,h==null||(m=h.classNames)==null?void 0:m.content)},K.createElement("div",{"data-title":"",className:ra(A?.title,h==null||(p=h.classNames)==null?void 0:p.title)},h.jsx?h.jsx:typeof h.title=="function"?h.title():h.title),h.description?K.createElement("div",{"data-description":"",className:ra(Ce,No,A?.description,h==null||(y=h.classNames)==null?void 0:y.description)},typeof h.description=="function"?h.description():h.description):null),K.isValidElement(h.cancel)?h.cancel:h.cancel&&no(h.cancel)?K.createElement("button",{"data-button":!0,"data-cancel":!0,style:h.cancelButtonStyle||Z,onClick:fe=>{no(h.cancel)&&ka&&(h.cancel.onClick==null||h.cancel.onClick.call(h.cancel,fe),la())},className:ra(A?.cancelButton,h==null||(v=h.classNames)==null?void 0:v.cancelButton)},h.cancel.label):null,K.isValidElement(h.action)?h.action:h.action&&no(h.action)?K.createElement("button",{"data-button":!0,"data-action":!0,style:h.actionButtonStyle||me,onClick:fe=>{no(h.action)&&(h.action.onClick==null||h.action.onClick.call(h.action,fe),!fe.defaultPrevented&&la())},className:ra(A?.actionButton,h==null||(x=h.classNames)==null?void 0:x.actionButton)},h.action.label):null)};function Ep(){if(typeof window>"u"||typeof document>"u")return"ltr";const i=document.documentElement.getAttribute("dir");return i==="auto"||!i?window.getComputedStyle(document.documentElement).direction:i}function sv(i,o){const r={};return[i,o].forEach((c,f)=>{const m=f===1,p=m?"--mobile-offset":"--offset",y=m?Ix:Px;function v(x){["top","right","bottom","left"].forEach(S=>{r[`${p}-${S}`]=typeof x=="number"?`${x}px`:x})}typeof c=="number"||typeof c=="string"?v(c):typeof c=="object"?["top","right","bottom","left"].forEach(x=>{c[x]===void 0?r[`${p}-${x}`]=y:r[`${p}-${x}`]=typeof c[x]=="number"?`${c[x]}px`:c[x]}):v(y)}),r}const ov=K.forwardRef(function(o,r){const{id:c,invert:f,position:m="bottom-right",hotkey:p=["altKey","KeyT"],expand:y,closeButton:v,className:x,offset:S,mobileOffset:h,theme:N="light",richColors:z,duration:M,style:q,visibleToasts:G=$x,toastOptions:V,dir:P=Ep(),gap:J=tv,icons:W,containerAriaLabel:I="Notifications"}=o,[ne,Q]=K.useState([]),Z=K.useMemo(()=>c?ne.filter(B=>B.toasterId===c):ne.filter(B=>!B.toasterId),[ne,c]),me=K.useMemo(()=>Array.from(new Set([m].concat(Z.filter(B=>B.position).map(B=>B.position)))),[Z,m]),[Se,Ce]=K.useState([]),[ge,he]=K.useState(!1),[ve,be]=K.useState(!1),[A,L]=K.useState(N!=="system"?N:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),_=K.useRef(null),ie=p.join("+").replace(/Key/g,"").replace(/Digit/g,""),ce=K.useRef(null),E=K.useRef(!1),U=K.useCallback(B=>{Q(X=>{var F;return(F=X.find(se=>se.id===B.id))!=null&&F.delete||Ct.dismiss(B.id),X.filter(({id:se})=>se!==B.id)})},[]);return K.useEffect(()=>Ct.subscribe(B=>{if(B.dismiss){requestAnimationFrame(()=>{Q(X=>X.map(F=>F.id===B.id?{...F,delete:!0}:F))});return}setTimeout(()=>{Dx.flushSync(()=>{Q(X=>{const F=X.findIndex(se=>se.id===B.id);return F!==-1?[...X.slice(0,F),{...X[F],...B},...X.slice(F+1)]:[B,...X]})})})}),[ne]),K.useEffect(()=>{if(N!=="system"){L(N);return}if(N==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?L("dark"):L("light")),typeof window>"u")return;const B=window.matchMedia("(prefers-color-scheme: dark)");try{B.addEventListener("change",({matches:X})=>{L(X?"dark":"light")})}catch{B.addListener(({matches:F})=>{try{L(F?"dark":"light")}catch(se){console.error(se)}})}},[N]),K.useEffect(()=>{ne.length<=1&&he(!1)},[ne]),K.useEffect(()=>{const B=X=>{var F;if(p.every(ue=>X[ue]||X.code===ue)){var ae;he(!0),(ae=_.current)==null||ae.focus()}X.code==="Escape"&&(document.activeElement===_.current||(F=_.current)!=null&&F.contains(document.activeElement))&&he(!1)};return document.addEventListener("keydown",B),()=>document.removeEventListener("keydown",B)},[p]),K.useEffect(()=>{if(_.current)return()=>{ce.current&&(ce.current.focus({preventScroll:!0}),ce.current=null,E.current=!1)}},[_.current]),K.createElement("section",{ref:r,"aria-label":`${I} ${ie}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},me.map((B,X)=>{var F;const[se,ae]=B.split("-");return Z.length?K.createElement("ol",{key:B,dir:P==="auto"?Ep():P,tabIndex:-1,ref:_,className:x,"data-sonner-toaster":!0,"data-sonner-theme":A,"data-y-position":se,"data-x-position":ae,style:{"--front-toast-height":`${((F=Se[0])==null?void 0:F.height)||0}px`,"--width":`${ev}px`,"--gap":`${J}px`,...q,...sv(S,h)},onBlur:ue=>{E.current&&!ue.currentTarget.contains(ue.relatedTarget)&&(E.current=!1,ce.current&&(ce.current.focus({preventScroll:!0}),ce.current=null))},onFocus:ue=>{ue.target instanceof HTMLElement&&ue.target.dataset.dismissible==="false"||E.current||(E.current=!0,ce.current=ue.relatedTarget)},onMouseEnter:()=>he(!0),onMouseMove:()=>he(!0),onMouseLeave:()=>{ve||he(!1)},onDragEnd:()=>he(!1),onPointerDown:ue=>{ue.target instanceof HTMLElement&&ue.target.dataset.dismissible==="false"||be(!0)},onPointerUp:()=>be(!1)},Z.filter(ue=>!ue.position&&X===0||ue.position===B).map((ue,Ne)=>{var lt,mt;return K.createElement(iv,{key:ue.id,icons:W,index:Ne,toast:ue,defaultRichColors:z,duration:(lt=V?.duration)!=null?lt:M,className:V?.className,descriptionClassName:V?.descriptionClassName,invert:f,visibleToasts:G,closeButton:(mt=V?.closeButton)!=null?mt:v,interacting:ve,position:B,style:V?.style,unstyled:V?.unstyled,classNames:V?.classNames,cancelButtonStyle:V?.cancelButtonStyle,actionButtonStyle:V?.actionButtonStyle,closeButtonAriaLabel:V?.closeButtonAriaLabel,removeToast:U,toasts:Z.filter(nt=>nt.position==ue.position),heights:Se.filter(nt=>nt.position==ue.position),setHeights:Ce,expandByDefault:y,gap:J,expanded:ge,swipeDirections:o.swipeDirections})})):null}))}),cv=({...i})=>{const{theme:o="system"}=_x();return d.jsx(ov,{"data-loc":"client/src/components/ui/sonner.tsx:8",theme:o,className:"toaster group",style:{"--normal-bg":"var(--popover)","--normal-text":"var(--popover-foreground)","--normal-border":"var(--border)"},...i})};function Ba(i,o,{checkForDefaultPrevented:r=!0}={}){return function(f){if(i?.(f),r===!1||!f.defaultPrevented)return o?.(f)}}function wp(i,o){if(typeof i=="function")return i(o);i!=null&&(i.current=o)}function lg(...i){return o=>{let r=!1;const c=i.map(f=>{const m=wp(f,o);return!r&&typeof m=="function"&&(r=!0),m});if(r)return()=>{for(let f=0;f{const{scope:N,children:z,...M}=h,q=N?.[i]?.[v]||y,G=O.useMemo(()=>M,Object.values(M));return d.jsx(q.Provider,{value:G,children:z})};x.displayName=m+"Provider";function S(h,N){const z=N?.[i]?.[v]||y,M=O.useContext(z);if(M)return M;if(p!==void 0)return p;throw new Error(`\`${h}\` must be used within \`${m}\``)}return[x,S]}const f=()=>{const m=r.map(p=>O.createContext(p));return function(y){const v=y?.[i]||m;return O.useMemo(()=>({[`__scope${i}`]:{...y,[i]:v}}),[y,v])}};return f.scopeName=i,[c,rv(f,...o)]}function rv(...i){const o=i[0];if(i.length===1)return o;const r=()=>{const c=i.map(f=>({useScope:f(),scopeName:f.scopeName}));return function(m){const p=c.reduce((y,{useScope:v,scopeName:x})=>{const h=v(m)[`__scope${x}`];return{...y,...h}},{});return O.useMemo(()=>({[`__scope${o.scopeName}`]:p}),[p])}};return r.scopeName=o.scopeName,r}function ig(i){const o=fv(i),r=O.forwardRef((c,f)=>{const{children:m,...p}=c,y=O.Children.toArray(m),v=y.find(mv);if(v){const x=v.props.children,S=y.map(h=>h===v?O.Children.count(x)>1?O.Children.only(null):O.isValidElement(x)?x.props.children:null:h);return d.jsx(o,{...p,ref:f,children:O.isValidElement(x)?O.cloneElement(x,void 0,S):null})}return d.jsx(o,{...p,ref:f,children:m})});return r.displayName=`${i}.Slot`,r}var uv=ig("Slot");function fv(i){const o=O.forwardRef((r,c)=>{const{children:f,...m}=r;if(O.isValidElement(f)){const p=gv(f),y=pv(m,f.props);return f.type!==O.Fragment&&(y.ref=c?lg(c,p):p),O.cloneElement(f,y)}return O.Children.count(f)>1?O.Children.only(null):null});return o.displayName=`${i}.SlotClone`,o}var sg=Symbol("radix.slottable");function dv(i){const o=({children:r})=>d.jsx(d.Fragment,{children:r});return o.displayName=`${i}.Slottable`,o.__radixId=sg,o}function mv(i){return O.isValidElement(i)&&typeof i.type=="function"&&"__radixId"in i.type&&i.type.__radixId===sg}function pv(i,o){const r={...o};for(const c in o){const f=i[c],m=o[c];/^on[A-Z]/.test(c)?f&&m?r[c]=(...y)=>{const v=m(...y);return f(...y),v}:f&&(r[c]=f):c==="style"?r[c]={...f,...m}:c==="className"&&(r[c]=[f,m].filter(Boolean).join(" "))}return{...i,...r}}function gv(i){let o=Object.getOwnPropertyDescriptor(i.props,"ref")?.get,r=o&&"isReactWarning"in o&&o.isReactWarning;return r?i.ref:(o=Object.getOwnPropertyDescriptor(i,"ref")?.get,r=o&&"isReactWarning"in o&&o.isReactWarning,r?i.props.ref:i.props.ref||i.ref)}var hv=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Gl=hv.reduce((i,o)=>{const r=ig(`Primitive.${o}`),c=O.forwardRef((f,m)=>{const{asChild:p,...y}=f,v=p?r:o;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),d.jsx(v,{...y,ref:m})});return c.displayName=`Primitive.${o}`,{...i,[o]:c}},{});function xv(i,o){i&&ou.flushSync(()=>i.dispatchEvent(o))}function xo(i){const o=O.useRef(i);return O.useEffect(()=>{o.current=i}),O.useMemo(()=>(...r)=>o.current?.(...r),[])}function vv(i,o=globalThis?.document){const r=xo(i);O.useEffect(()=>{const c=f=>{f.key==="Escape"&&r(f)};return o.addEventListener("keydown",c,{capture:!0}),()=>o.removeEventListener("keydown",c,{capture:!0})},[r,o])}var yv="DismissableLayer",Pr="dismissableLayer.update",bv="dismissableLayer.pointerDownOutside",Sv="dismissableLayer.focusOutside",Ap,og=O.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),cg=O.forwardRef((i,o)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:c,onPointerDownOutside:f,onFocusOutside:m,onInteractOutside:p,onDismiss:y,...v}=i,x=O.useContext(og),[S,h]=O.useState(null),N=S?.ownerDocument??globalThis?.document,[,z]=O.useState({}),M=Vl(o,Q=>h(Q)),q=Array.from(x.layers),[G]=[...x.layersWithOutsidePointerEventsDisabled].slice(-1),V=q.indexOf(G),P=S?q.indexOf(S):-1,J=x.layersWithOutsidePointerEventsDisabled.size>0,W=P>=V,I=Av(Q=>{const Z=Q.target,me=[...x.branches].some(Se=>Se.contains(Z));!W||me||(f?.(Q),p?.(Q),Q.defaultPrevented||y?.())},N),ne=Tv(Q=>{const Z=Q.target;[...x.branches].some(Se=>Se.contains(Z))||(m?.(Q),p?.(Q),Q.defaultPrevented||y?.())},N);return vv(Q=>{P===x.layers.size-1&&(c?.(Q),!Q.defaultPrevented&&y&&(Q.preventDefault(),y()))},N),O.useEffect(()=>{if(S)return r&&(x.layersWithOutsidePointerEventsDisabled.size===0&&(Ap=N.body.style.pointerEvents,N.body.style.pointerEvents="none"),x.layersWithOutsidePointerEventsDisabled.add(S)),x.layers.add(S),Tp(),()=>{r&&x.layersWithOutsidePointerEventsDisabled.size===1&&(N.body.style.pointerEvents=Ap)}},[S,N,r,x]),O.useEffect(()=>()=>{S&&(x.layers.delete(S),x.layersWithOutsidePointerEventsDisabled.delete(S),Tp())},[S,x]),O.useEffect(()=>{const Q=()=>z({});return document.addEventListener(Pr,Q),()=>document.removeEventListener(Pr,Q)},[]),d.jsx(Gl.div,{...v,ref:M,style:{pointerEvents:J?W?"auto":"none":void 0,...i.style},onFocusCapture:Ba(i.onFocusCapture,ne.onFocusCapture),onBlurCapture:Ba(i.onBlurCapture,ne.onBlurCapture),onPointerDownCapture:Ba(i.onPointerDownCapture,I.onPointerDownCapture)})});cg.displayName=yv;var Ev="DismissableLayerBranch",wv=O.forwardRef((i,o)=>{const r=O.useContext(og),c=O.useRef(null),f=Vl(o,c);return O.useEffect(()=>{const m=c.current;if(m)return r.branches.add(m),()=>{r.branches.delete(m)}},[r.branches]),d.jsx(Gl.div,{...i,ref:f})});wv.displayName=Ev;function Av(i,o=globalThis?.document){const r=xo(i),c=O.useRef(!1),f=O.useRef(()=>{});return O.useEffect(()=>{const m=y=>{if(y.target&&!c.current){let v=function(){rg(bv,r,x,{discrete:!0})};const x={originalEvent:y};y.pointerType==="touch"?(o.removeEventListener("click",f.current),f.current=v,o.addEventListener("click",f.current,{once:!0})):v()}else o.removeEventListener("click",f.current);c.current=!1},p=window.setTimeout(()=>{o.addEventListener("pointerdown",m)},0);return()=>{window.clearTimeout(p),o.removeEventListener("pointerdown",m),o.removeEventListener("click",f.current)}},[o,r]),{onPointerDownCapture:()=>c.current=!0}}function Tv(i,o=globalThis?.document){const r=xo(i),c=O.useRef(!1);return O.useEffect(()=>{const f=m=>{m.target&&!c.current&&rg(Sv,r,{originalEvent:m},{discrete:!1})};return o.addEventListener("focusin",f),()=>o.removeEventListener("focusin",f)},[o,r]),{onFocusCapture:()=>c.current=!0,onBlurCapture:()=>c.current=!1}}function Tp(){const i=new CustomEvent(Pr);document.dispatchEvent(i)}function rg(i,o,r,{discrete:c}){const f=r.originalEvent.target,m=new CustomEvent(i,{bubbles:!1,cancelable:!0,detail:r});o&&f.addEventListener(i,o,{once:!0}),c?xv(f,m):f.dispatchEvent(m)}var ki=globalThis?.document?O.useLayoutEffect:()=>{};const Nv=["top","right","bottom","left"],pl=Math.min,Ut=Math.max,fo=Math.round,io=Math.floor,fa=i=>({x:i,y:i}),jv={left:"right",right:"left",bottom:"top",top:"bottom"},Cv={start:"end",end:"start"};function Ir(i,o,r){return Ut(i,pl(o,r))}function Ua(i,o){return typeof i=="function"?i(o):i}function La(i){return i.split("-")[0]}function Un(i){return i.split("-")[1]}function cu(i){return i==="x"?"y":"x"}function ru(i){return i==="y"?"height":"width"}const Hv=new Set(["top","bottom"]);function ua(i){return Hv.has(La(i))?"y":"x"}function uu(i){return cu(ua(i))}function zv(i,o,r){r===void 0&&(r=!1);const c=Un(i),f=uu(i),m=ru(f);let p=f==="x"?c===(r?"end":"start")?"right":"left":c==="start"?"bottom":"top";return o.reference[m]>o.floating[m]&&(p=mo(p)),[p,mo(p)]}function Ov(i){const o=mo(i);return[eu(i),o,eu(o)]}function eu(i){return i.replace(/start|end/g,o=>Cv[o])}const Np=["left","right"],jp=["right","left"],Mv=["top","bottom"],_v=["bottom","top"];function Dv(i,o,r){switch(i){case"top":case"bottom":return r?o?jp:Np:o?Np:jp;case"left":case"right":return o?Mv:_v;default:return[]}}function Rv(i,o,r,c){const f=Un(i);let m=Dv(La(i),r==="start",c);return f&&(m=m.map(p=>p+"-"+f),o&&(m=m.concat(m.map(eu)))),m}function mo(i){return i.replace(/left|right|bottom|top/g,o=>jv[o])}function Bv(i){return{top:0,right:0,bottom:0,left:0,...i}}function ug(i){return typeof i!="number"?Bv(i):{top:i,right:i,bottom:i,left:i}}function po(i){const{x:o,y:r,width:c,height:f}=i;return{width:c,height:f,top:r,left:o,right:o+c,bottom:r+f,x:o,y:r}}function Cp(i,o,r){let{reference:c,floating:f}=i;const m=ua(o),p=uu(o),y=ru(p),v=La(o),x=m==="y",S=c.x+c.width/2-f.width/2,h=c.y+c.height/2-f.height/2,N=c[y]/2-f[y]/2;let z;switch(v){case"top":z={x:S,y:c.y-f.height};break;case"bottom":z={x:S,y:c.y+c.height};break;case"right":z={x:c.x+c.width,y:h};break;case"left":z={x:c.x-f.width,y:h};break;default:z={x:c.x,y:c.y}}switch(Un(o)){case"start":z[p]-=N*(r&&x?-1:1);break;case"end":z[p]+=N*(r&&x?-1:1);break}return z}const Uv=async(i,o,r)=>{const{placement:c="bottom",strategy:f="absolute",middleware:m=[],platform:p}=r,y=m.filter(Boolean),v=await(p.isRTL==null?void 0:p.isRTL(o));let x=await p.getElementRects({reference:i,floating:o,strategy:f}),{x:S,y:h}=Cp(x,c,v),N=c,z={},M=0;for(let q=0;q({name:"arrow",options:i,async fn(o){const{x:r,y:c,placement:f,rects:m,platform:p,elements:y,middlewareData:v}=o,{element:x,padding:S=0}=Ua(i,o)||{};if(x==null)return{};const h=ug(S),N={x:r,y:c},z=uu(f),M=ru(z),q=await p.getDimensions(x),G=z==="y",V=G?"top":"left",P=G?"bottom":"right",J=G?"clientHeight":"clientWidth",W=m.reference[M]+m.reference[z]-N[z]-m.floating[M],I=N[z]-m.reference[z],ne=await(p.getOffsetParent==null?void 0:p.getOffsetParent(x));let Q=ne?ne[J]:0;(!Q||!await(p.isElement==null?void 0:p.isElement(ne)))&&(Q=y.floating[J]||m.floating[M]);const Z=W/2-I/2,me=Q/2-q[M]/2-1,Se=pl(h[V],me),Ce=pl(h[P],me),ge=Se,he=Q-q[M]-Ce,ve=Q/2-q[M]/2+Z,be=Ir(ge,ve,he),A=!v.arrow&&Un(f)!=null&&ve!==be&&m.reference[M]/2-(veve<=0)){var Ce,ge;const ve=(((Ce=m.flip)==null?void 0:Ce.index)||0)+1,be=Q[ve];if(be&&(!(h==="alignment"?P!==ua(be):!1)||Se.every(_=>ua(_.placement)===P?_.overflows[0]>0:!0)))return{data:{index:ve,overflows:Se},reset:{placement:be}};let A=(ge=Se.filter(L=>L.overflows[0]<=0).sort((L,_)=>L.overflows[1]-_.overflows[1])[0])==null?void 0:ge.placement;if(!A)switch(z){case"bestFit":{var he;const L=(he=Se.filter(_=>{if(ne){const ie=ua(_.placement);return ie===P||ie==="y"}return!0}).map(_=>[_.placement,_.overflows.filter(ie=>ie>0).reduce((ie,ce)=>ie+ce,0)]).sort((_,ie)=>_[1]-ie[1])[0])==null?void 0:he[0];L&&(A=L);break}case"initialPlacement":A=y;break}if(f!==A)return{reset:{placement:A}}}return{}}}};function Hp(i,o){return{top:i.top-o.height,right:i.right-o.width,bottom:i.bottom-o.height,left:i.left-o.width}}function zp(i){return Nv.some(o=>i[o]>=0)}const qv=function(i){return i===void 0&&(i={}),{name:"hide",options:i,async fn(o){const{rects:r}=o,{strategy:c="referenceHidden",...f}=Ua(i,o);switch(c){case"referenceHidden":{const m=await qi(o,{...f,elementContext:"reference"}),p=Hp(m,r.reference);return{data:{referenceHiddenOffsets:p,referenceHidden:zp(p)}}}case"escaped":{const m=await qi(o,{...f,altBoundary:!0}),p=Hp(m,r.floating);return{data:{escapedOffsets:p,escaped:zp(p)}}}default:return{}}}}},fg=new Set(["left","top"]);async function Yv(i,o){const{placement:r,platform:c,elements:f}=i,m=await(c.isRTL==null?void 0:c.isRTL(f.floating)),p=La(r),y=Un(r),v=ua(r)==="y",x=fg.has(p)?-1:1,S=m&&v?-1:1,h=Ua(o,i);let{mainAxis:N,crossAxis:z,alignmentAxis:M}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return y&&typeof M=="number"&&(z=y==="end"?M*-1:M),v?{x:z*S,y:N*x}:{x:N*x,y:z*S}}const Vv=function(i){return i===void 0&&(i=0),{name:"offset",options:i,async fn(o){var r,c;const{x:f,y:m,placement:p,middlewareData:y}=o,v=await Yv(o,i);return p===((r=y.offset)==null?void 0:r.placement)&&(c=y.arrow)!=null&&c.alignmentOffset?{}:{x:f+v.x,y:m+v.y,data:{...v,placement:p}}}}},Gv=function(i){return i===void 0&&(i={}),{name:"shift",options:i,async fn(o){const{x:r,y:c,placement:f}=o,{mainAxis:m=!0,crossAxis:p=!1,limiter:y={fn:G=>{let{x:V,y:P}=G;return{x:V,y:P}}},...v}=Ua(i,o),x={x:r,y:c},S=await qi(o,v),h=ua(La(f)),N=cu(h);let z=x[N],M=x[h];if(m){const G=N==="y"?"top":"left",V=N==="y"?"bottom":"right",P=z+S[G],J=z-S[V];z=Ir(P,z,J)}if(p){const G=h==="y"?"top":"left",V=h==="y"?"bottom":"right",P=M+S[G],J=M-S[V];M=Ir(P,M,J)}const q=y.fn({...o,[N]:z,[h]:M});return{...q,data:{x:q.x-r,y:q.y-c,enabled:{[N]:m,[h]:p}}}}}},Xv=function(i){return i===void 0&&(i={}),{options:i,fn(o){const{x:r,y:c,placement:f,rects:m,middlewareData:p}=o,{offset:y=0,mainAxis:v=!0,crossAxis:x=!0}=Ua(i,o),S={x:r,y:c},h=ua(f),N=cu(h);let z=S[N],M=S[h];const q=Ua(y,o),G=typeof q=="number"?{mainAxis:q,crossAxis:0}:{mainAxis:0,crossAxis:0,...q};if(v){const J=N==="y"?"height":"width",W=m.reference[N]-m.floating[J]+G.mainAxis,I=m.reference[N]+m.reference[J]-G.mainAxis;zI&&(z=I)}if(x){var V,P;const J=N==="y"?"width":"height",W=fg.has(La(f)),I=m.reference[h]-m.floating[J]+(W&&((V=p.offset)==null?void 0:V[h])||0)+(W?0:G.crossAxis),ne=m.reference[h]+m.reference[J]+(W?0:((P=p.offset)==null?void 0:P[h])||0)-(W?G.crossAxis:0);Mne&&(M=ne)}return{[N]:z,[h]:M}}}},Qv=function(i){return i===void 0&&(i={}),{name:"size",options:i,async fn(o){var r,c;const{placement:f,rects:m,platform:p,elements:y}=o,{apply:v=()=>{},...x}=Ua(i,o),S=await qi(o,x),h=La(f),N=Un(f),z=ua(f)==="y",{width:M,height:q}=m.floating;let G,V;h==="top"||h==="bottom"?(G=h,V=N===(await(p.isRTL==null?void 0:p.isRTL(y.floating))?"start":"end")?"left":"right"):(V=h,G=N==="end"?"top":"bottom");const P=q-S.top-S.bottom,J=M-S.left-S.right,W=pl(q-S[G],P),I=pl(M-S[V],J),ne=!o.middlewareData.shift;let Q=W,Z=I;if((r=o.middlewareData.shift)!=null&&r.enabled.x&&(Z=J),(c=o.middlewareData.shift)!=null&&c.enabled.y&&(Q=P),ne&&!N){const Se=Ut(S.left,0),Ce=Ut(S.right,0),ge=Ut(S.top,0),he=Ut(S.bottom,0);z?Z=M-2*(Se!==0||Ce!==0?Se+Ce:Ut(S.left,S.right)):Q=q-2*(ge!==0||he!==0?ge+he:Ut(S.top,S.bottom))}await v({...o,availableWidth:Z,availableHeight:Q});const me=await p.getDimensions(y.floating);return M!==me.width||q!==me.height?{reset:{rects:!0}}:{}}}};function vo(){return typeof window<"u"}function Ln(i){return dg(i)?(i.nodeName||"").toLowerCase():"#document"}function Lt(i){var o;return(i==null||(o=i.ownerDocument)==null?void 0:o.defaultView)||window}function ma(i){var o;return(o=(dg(i)?i.ownerDocument:i.document)||window.document)==null?void 0:o.documentElement}function dg(i){return vo()?i instanceof Node||i instanceof Lt(i).Node:!1}function ta(i){return vo()?i instanceof Element||i instanceof Lt(i).Element:!1}function da(i){return vo()?i instanceof HTMLElement||i instanceof Lt(i).HTMLElement:!1}function Op(i){return!vo()||typeof ShadowRoot>"u"?!1:i instanceof ShadowRoot||i instanceof Lt(i).ShadowRoot}const Zv=new Set(["inline","contents"]);function Vi(i){const{overflow:o,overflowX:r,overflowY:c,display:f}=aa(i);return/auto|scroll|overlay|hidden|clip/.test(o+c+r)&&!Zv.has(f)}const Kv=new Set(["table","td","th"]);function Jv(i){return Kv.has(Ln(i))}const Fv=[":popover-open",":modal"];function yo(i){return Fv.some(o=>{try{return i.matches(o)}catch{return!1}})}const Wv=["transform","translate","scale","rotate","perspective"],$v=["transform","translate","scale","rotate","perspective","filter"],Pv=["paint","layout","strict","content"];function fu(i){const o=du(),r=ta(i)?aa(i):i;return Wv.some(c=>r[c]?r[c]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!o&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!o&&(r.filter?r.filter!=="none":!1)||$v.some(c=>(r.willChange||"").includes(c))||Pv.some(c=>(r.contain||"").includes(c))}function Iv(i){let o=gl(i);for(;da(o)&&!Rn(o);){if(fu(o))return o;if(yo(o))return null;o=gl(o)}return null}function du(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const ey=new Set(["html","body","#document"]);function Rn(i){return ey.has(Ln(i))}function aa(i){return Lt(i).getComputedStyle(i)}function bo(i){return ta(i)?{scrollLeft:i.scrollLeft,scrollTop:i.scrollTop}:{scrollLeft:i.scrollX,scrollTop:i.scrollY}}function gl(i){if(Ln(i)==="html")return i;const o=i.assignedSlot||i.parentNode||Op(i)&&i.host||ma(i);return Op(o)?o.host:o}function mg(i){const o=gl(i);return Rn(o)?i.ownerDocument?i.ownerDocument.body:i.body:da(o)&&Vi(o)?o:mg(o)}function Yi(i,o,r){var c;o===void 0&&(o=[]),r===void 0&&(r=!0);const f=mg(i),m=f===((c=i.ownerDocument)==null?void 0:c.body),p=Lt(f);if(m){const y=tu(p);return o.concat(p,p.visualViewport||[],Vi(f)?f:[],y&&r?Yi(y):[])}return o.concat(f,Yi(f,[],r))}function tu(i){return i.parent&&Object.getPrototypeOf(i.parent)?i.frameElement:null}function pg(i){const o=aa(i);let r=parseFloat(o.width)||0,c=parseFloat(o.height)||0;const f=da(i),m=f?i.offsetWidth:r,p=f?i.offsetHeight:c,y=fo(r)!==m||fo(c)!==p;return y&&(r=m,c=p),{width:r,height:c,$:y}}function mu(i){return ta(i)?i:i.contextElement}function Dn(i){const o=mu(i);if(!da(o))return fa(1);const r=o.getBoundingClientRect(),{width:c,height:f,$:m}=pg(o);let p=(m?fo(r.width):r.width)/c,y=(m?fo(r.height):r.height)/f;return(!p||!Number.isFinite(p))&&(p=1),(!y||!Number.isFinite(y))&&(y=1),{x:p,y}}const ty=fa(0);function gg(i){const o=Lt(i);return!du()||!o.visualViewport?ty:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function ay(i,o,r){return o===void 0&&(o=!1),!r||o&&r!==Lt(i)?!1:o}function Yl(i,o,r,c){o===void 0&&(o=!1),r===void 0&&(r=!1);const f=i.getBoundingClientRect(),m=mu(i);let p=fa(1);o&&(c?ta(c)&&(p=Dn(c)):p=Dn(i));const y=ay(m,r,c)?gg(m):fa(0);let v=(f.left+y.x)/p.x,x=(f.top+y.y)/p.y,S=f.width/p.x,h=f.height/p.y;if(m){const N=Lt(m),z=c&&ta(c)?Lt(c):c;let M=N,q=tu(M);for(;q&&c&&z!==M;){const G=Dn(q),V=q.getBoundingClientRect(),P=aa(q),J=V.left+(q.clientLeft+parseFloat(P.paddingLeft))*G.x,W=V.top+(q.clientTop+parseFloat(P.paddingTop))*G.y;v*=G.x,x*=G.y,S*=G.x,h*=G.y,v+=J,x+=W,M=Lt(q),q=tu(M)}}return po({width:S,height:h,x:v,y:x})}function So(i,o){const r=bo(i).scrollLeft;return o?o.left+r:Yl(ma(i)).left+r}function hg(i,o){const r=i.getBoundingClientRect(),c=r.left+o.scrollLeft-So(i,r),f=r.top+o.scrollTop;return{x:c,y:f}}function ly(i){let{elements:o,rect:r,offsetParent:c,strategy:f}=i;const m=f==="fixed",p=ma(c),y=o?yo(o.floating):!1;if(c===p||y&&m)return r;let v={scrollLeft:0,scrollTop:0},x=fa(1);const S=fa(0),h=da(c);if((h||!h&&!m)&&((Ln(c)!=="body"||Vi(p))&&(v=bo(c)),da(c))){const z=Yl(c);x=Dn(c),S.x=z.x+c.clientLeft,S.y=z.y+c.clientTop}const N=p&&!h&&!m?hg(p,v):fa(0);return{width:r.width*x.x,height:r.height*x.y,x:r.x*x.x-v.scrollLeft*x.x+S.x+N.x,y:r.y*x.y-v.scrollTop*x.y+S.y+N.y}}function ny(i){return Array.from(i.getClientRects())}function iy(i){const o=ma(i),r=bo(i),c=i.ownerDocument.body,f=Ut(o.scrollWidth,o.clientWidth,c.scrollWidth,c.clientWidth),m=Ut(o.scrollHeight,o.clientHeight,c.scrollHeight,c.clientHeight);let p=-r.scrollLeft+So(i);const y=-r.scrollTop;return aa(c).direction==="rtl"&&(p+=Ut(o.clientWidth,c.clientWidth)-f),{width:f,height:m,x:p,y}}const Mp=25;function sy(i,o){const r=Lt(i),c=ma(i),f=r.visualViewport;let m=c.clientWidth,p=c.clientHeight,y=0,v=0;if(f){m=f.width,p=f.height;const S=du();(!S||S&&o==="fixed")&&(y=f.offsetLeft,v=f.offsetTop)}const x=So(c);if(x<=0){const S=c.ownerDocument,h=S.body,N=getComputedStyle(h),z=S.compatMode==="CSS1Compat"&&parseFloat(N.marginLeft)+parseFloat(N.marginRight)||0,M=Math.abs(c.clientWidth-h.clientWidth-z);M<=Mp&&(m-=M)}else x<=Mp&&(m+=x);return{width:m,height:p,x:y,y:v}}const oy=new Set(["absolute","fixed"]);function cy(i,o){const r=Yl(i,!0,o==="fixed"),c=r.top+i.clientTop,f=r.left+i.clientLeft,m=da(i)?Dn(i):fa(1),p=i.clientWidth*m.x,y=i.clientHeight*m.y,v=f*m.x,x=c*m.y;return{width:p,height:y,x:v,y:x}}function _p(i,o,r){let c;if(o==="viewport")c=sy(i,r);else if(o==="document")c=iy(ma(i));else if(ta(o))c=cy(o,r);else{const f=gg(i);c={x:o.x-f.x,y:o.y-f.y,width:o.width,height:o.height}}return po(c)}function xg(i,o){const r=gl(i);return r===o||!ta(r)||Rn(r)?!1:aa(r).position==="fixed"||xg(r,o)}function ry(i,o){const r=o.get(i);if(r)return r;let c=Yi(i,[],!1).filter(y=>ta(y)&&Ln(y)!=="body"),f=null;const m=aa(i).position==="fixed";let p=m?gl(i):i;for(;ta(p)&&!Rn(p);){const y=aa(p),v=fu(p);!v&&y.position==="fixed"&&(f=null),(m?!v&&!f:!v&&y.position==="static"&&!!f&&oy.has(f.position)||Vi(p)&&!v&&xg(i,p))?c=c.filter(S=>S!==p):f=y,p=gl(p)}return o.set(i,c),c}function uy(i){let{element:o,boundary:r,rootBoundary:c,strategy:f}=i;const p=[...r==="clippingAncestors"?yo(o)?[]:ry(o,this._c):[].concat(r),c],y=p[0],v=p.reduce((x,S)=>{const h=_p(o,S,f);return x.top=Ut(h.top,x.top),x.right=pl(h.right,x.right),x.bottom=pl(h.bottom,x.bottom),x.left=Ut(h.left,x.left),x},_p(o,y,f));return{width:v.right-v.left,height:v.bottom-v.top,x:v.left,y:v.top}}function fy(i){const{width:o,height:r}=pg(i);return{width:o,height:r}}function dy(i,o,r){const c=da(o),f=ma(o),m=r==="fixed",p=Yl(i,!0,m,o);let y={scrollLeft:0,scrollTop:0};const v=fa(0);function x(){v.x=So(f)}if(c||!c&&!m)if((Ln(o)!=="body"||Vi(f))&&(y=bo(o)),c){const z=Yl(o,!0,m,o);v.x=z.x+o.clientLeft,v.y=z.y+o.clientTop}else f&&x();m&&!c&&f&&x();const S=f&&!c&&!m?hg(f,y):fa(0),h=p.left+y.scrollLeft-v.x-S.x,N=p.top+y.scrollTop-v.y-S.y;return{x:h,y:N,width:p.width,height:p.height}}function Xr(i){return aa(i).position==="static"}function Dp(i,o){if(!da(i)||aa(i).position==="fixed")return null;if(o)return o(i);let r=i.offsetParent;return ma(i)===r&&(r=r.ownerDocument.body),r}function vg(i,o){const r=Lt(i);if(yo(i))return r;if(!da(i)){let f=gl(i);for(;f&&!Rn(f);){if(ta(f)&&!Xr(f))return f;f=gl(f)}return r}let c=Dp(i,o);for(;c&&Jv(c)&&Xr(c);)c=Dp(c,o);return c&&Rn(c)&&Xr(c)&&!fu(c)?r:c||Iv(i)||r}const my=async function(i){const o=this.getOffsetParent||vg,r=this.getDimensions,c=await r(i.floating);return{reference:dy(i.reference,await o(i.floating),i.strategy),floating:{x:0,y:0,width:c.width,height:c.height}}};function py(i){return aa(i).direction==="rtl"}const gy={convertOffsetParentRelativeRectToViewportRelativeRect:ly,getDocumentElement:ma,getClippingRect:uy,getOffsetParent:vg,getElementRects:my,getClientRects:ny,getDimensions:fy,getScale:Dn,isElement:ta,isRTL:py};function yg(i,o){return i.x===o.x&&i.y===o.y&&i.width===o.width&&i.height===o.height}function hy(i,o){let r=null,c;const f=ma(i);function m(){var y;clearTimeout(c),(y=r)==null||y.disconnect(),r=null}function p(y,v){y===void 0&&(y=!1),v===void 0&&(v=1),m();const x=i.getBoundingClientRect(),{left:S,top:h,width:N,height:z}=x;if(y||o(),!N||!z)return;const M=io(h),q=io(f.clientWidth-(S+N)),G=io(f.clientHeight-(h+z)),V=io(S),J={rootMargin:-M+"px "+-q+"px "+-G+"px "+-V+"px",threshold:Ut(0,pl(1,v))||1};let W=!0;function I(ne){const Q=ne[0].intersectionRatio;if(Q!==v){if(!W)return p();Q?p(!1,Q):c=setTimeout(()=>{p(!1,1e-7)},1e3)}Q===1&&!yg(x,i.getBoundingClientRect())&&p(),W=!1}try{r=new IntersectionObserver(I,{...J,root:f.ownerDocument})}catch{r=new IntersectionObserver(I,J)}r.observe(i)}return p(!0),m}function xy(i,o,r,c){c===void 0&&(c={});const{ancestorScroll:f=!0,ancestorResize:m=!0,elementResize:p=typeof ResizeObserver=="function",layoutShift:y=typeof IntersectionObserver=="function",animationFrame:v=!1}=c,x=mu(i),S=f||m?[...x?Yi(x):[],...Yi(o)]:[];S.forEach(V=>{f&&V.addEventListener("scroll",r,{passive:!0}),m&&V.addEventListener("resize",r)});const h=x&&y?hy(x,r):null;let N=-1,z=null;p&&(z=new ResizeObserver(V=>{let[P]=V;P&&P.target===x&&z&&(z.unobserve(o),cancelAnimationFrame(N),N=requestAnimationFrame(()=>{var J;(J=z)==null||J.observe(o)})),r()}),x&&!v&&z.observe(x),z.observe(o));let M,q=v?Yl(i):null;v&&G();function G(){const V=Yl(i);q&&!yg(q,V)&&r(),q=V,M=requestAnimationFrame(G)}return r(),()=>{var V;S.forEach(P=>{f&&P.removeEventListener("scroll",r),m&&P.removeEventListener("resize",r)}),h?.(),(V=z)==null||V.disconnect(),z=null,v&&cancelAnimationFrame(M)}}const vy=Vv,yy=Gv,by=kv,Sy=Qv,Ey=qv,Rp=Lv,wy=Xv,Ay=(i,o,r)=>{const c=new Map,f={platform:gy,...r},m={...f.platform,_c:c};return Uv(i,o,{...f,platform:m})};var Ty=typeof document<"u",Ny=function(){},uo=Ty?O.useLayoutEffect:Ny;function go(i,o){if(i===o)return!0;if(typeof i!=typeof o)return!1;if(typeof i=="function"&&i.toString()===o.toString())return!0;let r,c,f;if(i&&o&&typeof i=="object"){if(Array.isArray(i)){if(r=i.length,r!==o.length)return!1;for(c=r;c--!==0;)if(!go(i[c],o[c]))return!1;return!0}if(f=Object.keys(i),r=f.length,r!==Object.keys(o).length)return!1;for(c=r;c--!==0;)if(!{}.hasOwnProperty.call(o,f[c]))return!1;for(c=r;c--!==0;){const m=f[c];if(!(m==="_owner"&&i.$$typeof)&&!go(i[m],o[m]))return!1}return!0}return i!==i&&o!==o}function bg(i){return typeof window>"u"?1:(i.ownerDocument.defaultView||window).devicePixelRatio||1}function Bp(i,o){const r=bg(i);return Math.round(o*r)/r}function Qr(i){const o=O.useRef(i);return uo(()=>{o.current=i}),o}function jy(i){i===void 0&&(i={});const{placement:o="bottom",strategy:r="absolute",middleware:c=[],platform:f,elements:{reference:m,floating:p}={},transform:y=!0,whileElementsMounted:v,open:x}=i,[S,h]=O.useState({x:0,y:0,strategy:r,placement:o,middlewareData:{},isPositioned:!1}),[N,z]=O.useState(c);go(N,c)||z(c);const[M,q]=O.useState(null),[G,V]=O.useState(null),P=O.useCallback(_=>{_!==ne.current&&(ne.current=_,q(_))},[]),J=O.useCallback(_=>{_!==Q.current&&(Q.current=_,V(_))},[]),W=m||M,I=p||G,ne=O.useRef(null),Q=O.useRef(null),Z=O.useRef(S),me=v!=null,Se=Qr(v),Ce=Qr(f),ge=Qr(x),he=O.useCallback(()=>{if(!ne.current||!Q.current)return;const _={placement:o,strategy:r,middleware:N};Ce.current&&(_.platform=Ce.current),Ay(ne.current,Q.current,_).then(ie=>{const ce={...ie,isPositioned:ge.current!==!1};ve.current&&!go(Z.current,ce)&&(Z.current=ce,ou.flushSync(()=>{h(ce)}))})},[N,o,r,Ce,ge]);uo(()=>{x===!1&&Z.current.isPositioned&&(Z.current.isPositioned=!1,h(_=>({..._,isPositioned:!1})))},[x]);const ve=O.useRef(!1);uo(()=>(ve.current=!0,()=>{ve.current=!1}),[]),uo(()=>{if(W&&(ne.current=W),I&&(Q.current=I),W&&I){if(Se.current)return Se.current(W,I,he);he()}},[W,I,he,Se,me]);const be=O.useMemo(()=>({reference:ne,floating:Q,setReference:P,setFloating:J}),[P,J]),A=O.useMemo(()=>({reference:W,floating:I}),[W,I]),L=O.useMemo(()=>{const _={position:r,left:0,top:0};if(!A.floating)return _;const ie=Bp(A.floating,S.x),ce=Bp(A.floating,S.y);return y?{..._,transform:"translate("+ie+"px, "+ce+"px)",...bg(A.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:ie,top:ce}},[r,y,A.floating,S.x,S.y]);return O.useMemo(()=>({...S,update:he,refs:be,elements:A,floatingStyles:L}),[S,he,be,A,L])}const Cy=i=>{function o(r){return{}.hasOwnProperty.call(r,"current")}return{name:"arrow",options:i,fn(r){const{element:c,padding:f}=typeof i=="function"?i(r):i;return c&&o(c)?c.current!=null?Rp({element:c.current,padding:f}).fn(r):{}:c?Rp({element:c,padding:f}).fn(r):{}}}},Hy=(i,o)=>({...vy(i),options:[i,o]}),zy=(i,o)=>({...yy(i),options:[i,o]}),Oy=(i,o)=>({...wy(i),options:[i,o]}),My=(i,o)=>({...by(i),options:[i,o]}),_y=(i,o)=>({...Sy(i),options:[i,o]}),Dy=(i,o)=>({...Ey(i),options:[i,o]}),Ry=(i,o)=>({...Cy(i),options:[i,o]});var By="Arrow",Sg=O.forwardRef((i,o)=>{const{children:r,width:c=10,height:f=5,...m}=i;return d.jsx(Gl.svg,{...m,ref:o,width:c,height:f,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:i.asChild?r:d.jsx("polygon",{points:"0,0 30,0 15,10"})})});Sg.displayName=By;var Uy=Sg;function Ly(i){const[o,r]=O.useState(void 0);return ki(()=>{if(i){r({width:i.offsetWidth,height:i.offsetHeight});const c=new ResizeObserver(f=>{if(!Array.isArray(f)||!f.length)return;const m=f[0];let p,y;if("borderBoxSize"in m){const v=m.borderBoxSize,x=Array.isArray(v)?v[0]:v;p=x.inlineSize,y=x.blockSize}else p=i.offsetWidth,y=i.offsetHeight;r({width:p,height:y})});return c.observe(i,{box:"border-box"}),()=>c.unobserve(i)}else r(void 0)},[i]),o}var Eg="Popper",[wg,Ag]=ng(Eg),[d2,Tg]=wg(Eg),Ng="PopperAnchor",jg=O.forwardRef((i,o)=>{const{__scopePopper:r,virtualRef:c,...f}=i,m=Tg(Ng,r),p=O.useRef(null),y=Vl(o,p),v=O.useRef(null);return O.useEffect(()=>{const x=v.current;v.current=c?.current||p.current,x!==v.current&&m.onAnchorChange(v.current)}),c?null:d.jsx(Gl.div,{...f,ref:y})});jg.displayName=Ng;var pu="PopperContent",[ky,qy]=wg(pu),Cg=O.forwardRef((i,o)=>{const{__scopePopper:r,side:c="bottom",sideOffset:f=0,align:m="center",alignOffset:p=0,arrowPadding:y=0,avoidCollisions:v=!0,collisionBoundary:x=[],collisionPadding:S=0,sticky:h="partial",hideWhenDetached:N=!1,updatePositionStrategy:z="optimized",onPlaced:M,...q}=i,G=Tg(pu,r),[V,P]=O.useState(null),J=Vl(o,ae=>P(ae)),[W,I]=O.useState(null),ne=Ly(W),Q=ne?.width??0,Z=ne?.height??0,me=c+(m!=="center"?"-"+m:""),Se=typeof S=="number"?S:{top:0,right:0,bottom:0,left:0,...S},Ce=Array.isArray(x)?x:[x],ge=Ce.length>0,he={padding:Se,boundary:Ce.filter(Vy),altBoundary:ge},{refs:ve,floatingStyles:be,placement:A,isPositioned:L,middlewareData:_}=jy({strategy:"fixed",placement:me,whileElementsMounted:(...ae)=>xy(...ae,{animationFrame:z==="always"}),elements:{reference:G.anchor},middleware:[Hy({mainAxis:f+Z,alignmentAxis:p}),v&&zy({mainAxis:!0,crossAxis:!1,limiter:h==="partial"?Oy():void 0,...he}),v&&My({...he}),_y({...he,apply:({elements:ae,rects:ue,availableWidth:Ne,availableHeight:lt})=>{const{width:mt,height:nt}=ue.reference,pa=ae.floating.style;pa.setProperty("--radix-popper-available-width",`${Ne}px`),pa.setProperty("--radix-popper-available-height",`${lt}px`),pa.setProperty("--radix-popper-anchor-width",`${mt}px`),pa.setProperty("--radix-popper-anchor-height",`${nt}px`)}}),W&&Ry({element:W,padding:y}),Gy({arrowWidth:Q,arrowHeight:Z}),N&&Dy({strategy:"referenceHidden",...he})]}),[ie,ce]=Og(A),E=xo(M);ki(()=>{L&&E?.()},[L,E]);const U=_.arrow?.x,B=_.arrow?.y,X=_.arrow?.centerOffset!==0,[F,se]=O.useState();return ki(()=>{V&&se(window.getComputedStyle(V).zIndex)},[V]),d.jsx("div",{ref:ve.setFloating,"data-radix-popper-content-wrapper":"",style:{...be,transform:L?be.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:F,"--radix-popper-transform-origin":[_.transformOrigin?.x,_.transformOrigin?.y].join(" "),..._.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:i.dir,children:d.jsx(ky,{scope:r,placedSide:ie,onArrowChange:I,arrowX:U,arrowY:B,shouldHideArrow:X,children:d.jsx(Gl.div,{"data-side":ie,"data-align":ce,...q,ref:J,style:{...q.style,animation:L?void 0:"none"}})})})});Cg.displayName=pu;var Hg="PopperArrow",Yy={top:"bottom",right:"left",bottom:"top",left:"right"},zg=O.forwardRef(function(o,r){const{__scopePopper:c,...f}=o,m=qy(Hg,c),p=Yy[m.placedSide];return d.jsx("span",{ref:m.onArrowChange,style:{position:"absolute",left:m.arrowX,top:m.arrowY,[p]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[m.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[m.placedSide],visibility:m.shouldHideArrow?"hidden":void 0},children:d.jsx(Uy,{...f,ref:r,style:{...f.style,display:"block"}})})});zg.displayName=Hg;function Vy(i){return i!==null}var Gy=i=>({name:"transformOrigin",options:i,fn(o){const{placement:r,rects:c,middlewareData:f}=o,p=f.arrow?.centerOffset!==0,y=p?0:i.arrowWidth,v=p?0:i.arrowHeight,[x,S]=Og(r),h={start:"0%",center:"50%",end:"100%"}[S],N=(f.arrow?.x??0)+y/2,z=(f.arrow?.y??0)+v/2;let M="",q="";return x==="bottom"?(M=p?h:`${N}px`,q=`${-v}px`):x==="top"?(M=p?h:`${N}px`,q=`${c.floating.height+v}px`):x==="right"?(M=`${-v}px`,q=p?h:`${z}px`):x==="left"&&(M=`${c.floating.width+v}px`,q=p?h:`${z}px`),{data:{x:M,y:q}}}});function Og(i){const[o,r="center"]=i.split("-");return[o,r]}var Xy=jg,Qy=Cg,Zy=zg;function Ky(i,o){return O.useReducer((r,c)=>o[r][c]??r,i)}var Mg=i=>{const{present:o,children:r}=i,c=Jy(o),f=typeof r=="function"?r({present:c.isPresent}):O.Children.only(r),m=Vl(c.ref,Fy(f));return typeof r=="function"||c.isPresent?O.cloneElement(f,{ref:m}):null};Mg.displayName="Presence";function Jy(i){const[o,r]=O.useState(),c=O.useRef(null),f=O.useRef(i),m=O.useRef("none"),p=i?"mounted":"unmounted",[y,v]=Ky(p,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return O.useEffect(()=>{const x=so(c.current);m.current=y==="mounted"?x:"none"},[y]),ki(()=>{const x=c.current,S=f.current;if(S!==i){const N=m.current,z=so(x);i?v("MOUNT"):z==="none"||x?.display==="none"?v("UNMOUNT"):v(S&&N!==z?"ANIMATION_OUT":"UNMOUNT"),f.current=i}},[i,v]),ki(()=>{if(o){let x;const S=o.ownerDocument.defaultView??window,h=z=>{const q=so(c.current).includes(CSS.escape(z.animationName));if(z.target===o&&q&&(v("ANIMATION_END"),!f.current)){const G=o.style.animationFillMode;o.style.animationFillMode="forwards",x=S.setTimeout(()=>{o.style.animationFillMode==="forwards"&&(o.style.animationFillMode=G)})}},N=z=>{z.target===o&&(m.current=so(c.current))};return o.addEventListener("animationstart",N),o.addEventListener("animationcancel",h),o.addEventListener("animationend",h),()=>{S.clearTimeout(x),o.removeEventListener("animationstart",N),o.removeEventListener("animationcancel",h),o.removeEventListener("animationend",h)}}else v("ANIMATION_END")},[o,v]),{isPresent:["mounted","unmountSuspended"].includes(y),ref:O.useCallback(x=>{c.current=x?getComputedStyle(x):null,r(x)},[])}}function so(i){return i?.animationName||"none"}function Fy(i){let o=Object.getOwnPropertyDescriptor(i.props,"ref")?.get,r=o&&"isReactWarning"in o&&o.isReactWarning;return r?i.ref:(o=Object.getOwnPropertyDescriptor(i,"ref")?.get,r=o&&"isReactWarning"in o&&o.isReactWarning,r?i.props.ref:i.props.ref||i.ref)}var Wy=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),$y="VisuallyHidden",_g=O.forwardRef((i,o)=>d.jsx(Gl.span,{...i,ref:o,style:{...Wy,...i.style}}));_g.displayName=$y;var Py=_g,[Eo]=ng("Tooltip",[Ag]),gu=Ag(),Dg="TooltipProvider",Iy=700,Up="tooltip.open",[e1,Rg]=Eo(Dg),Bg=i=>{const{__scopeTooltip:o,delayDuration:r=Iy,skipDelayDuration:c=300,disableHoverableContent:f=!1,children:m}=i,p=O.useRef(!0),y=O.useRef(!1),v=O.useRef(0);return O.useEffect(()=>{const x=v.current;return()=>window.clearTimeout(x)},[]),d.jsx(e1,{scope:o,isOpenDelayedRef:p,delayDuration:r,onOpen:O.useCallback(()=>{window.clearTimeout(v.current),p.current=!1},[]),onClose:O.useCallback(()=>{window.clearTimeout(v.current),v.current=window.setTimeout(()=>p.current=!0,c)},[c]),isPointerInTransitRef:y,onPointerInTransitChange:O.useCallback(x=>{y.current=x},[]),disableHoverableContent:f,children:m})};Bg.displayName=Dg;var Ug="Tooltip",[m2,wo]=Eo(Ug),au="TooltipTrigger",t1=O.forwardRef((i,o)=>{const{__scopeTooltip:r,...c}=i,f=wo(au,r),m=Rg(au,r),p=gu(r),y=O.useRef(null),v=Vl(o,y,f.onTriggerChange),x=O.useRef(!1),S=O.useRef(!1),h=O.useCallback(()=>x.current=!1,[]);return O.useEffect(()=>()=>document.removeEventListener("pointerup",h),[h]),d.jsx(Xy,{asChild:!0,...p,children:d.jsx(Gl.button,{"aria-describedby":f.open?f.contentId:void 0,"data-state":f.stateAttribute,...c,ref:v,onPointerMove:Ba(i.onPointerMove,N=>{N.pointerType!=="touch"&&!S.current&&!m.isPointerInTransitRef.current&&(f.onTriggerEnter(),S.current=!0)}),onPointerLeave:Ba(i.onPointerLeave,()=>{f.onTriggerLeave(),S.current=!1}),onPointerDown:Ba(i.onPointerDown,()=>{f.open&&f.onClose(),x.current=!0,document.addEventListener("pointerup",h,{once:!0})}),onFocus:Ba(i.onFocus,()=>{x.current||f.onOpen()}),onBlur:Ba(i.onBlur,f.onClose),onClick:Ba(i.onClick,f.onClose)})})});t1.displayName=au;var a1="TooltipPortal",[p2,l1]=Eo(a1,{forceMount:void 0}),Bn="TooltipContent",n1=O.forwardRef((i,o)=>{const r=l1(Bn,i.__scopeTooltip),{forceMount:c=r.forceMount,side:f="top",...m}=i,p=wo(Bn,i.__scopeTooltip);return d.jsx(Mg,{present:c||p.open,children:p.disableHoverableContent?d.jsx(Lg,{side:f,...m,ref:o}):d.jsx(i1,{side:f,...m,ref:o})})}),i1=O.forwardRef((i,o)=>{const r=wo(Bn,i.__scopeTooltip),c=Rg(Bn,i.__scopeTooltip),f=O.useRef(null),m=Vl(o,f),[p,y]=O.useState(null),{trigger:v,onClose:x}=r,S=f.current,{onPointerInTransitChange:h}=c,N=O.useCallback(()=>{y(null),h(!1)},[h]),z=O.useCallback((M,q)=>{const G=M.currentTarget,V={x:M.clientX,y:M.clientY},P=u1(V,G.getBoundingClientRect()),J=f1(V,P),W=d1(q.getBoundingClientRect()),I=p1([...J,...W]);y(I),h(!0)},[h]);return O.useEffect(()=>()=>N(),[N]),O.useEffect(()=>{if(v&&S){const M=G=>z(G,S),q=G=>z(G,v);return v.addEventListener("pointerleave",M),S.addEventListener("pointerleave",q),()=>{v.removeEventListener("pointerleave",M),S.removeEventListener("pointerleave",q)}}},[v,S,z,N]),O.useEffect(()=>{if(p){const M=q=>{const G=q.target,V={x:q.clientX,y:q.clientY},P=v?.contains(G)||S?.contains(G),J=!m1(V,p);P?N():J&&(N(),x())};return document.addEventListener("pointermove",M),()=>document.removeEventListener("pointermove",M)}},[v,S,p,x,N]),d.jsx(Lg,{...i,ref:m})}),[s1,o1]=Eo(Ug,{isInside:!1}),c1=dv("TooltipContent"),Lg=O.forwardRef((i,o)=>{const{__scopeTooltip:r,children:c,"aria-label":f,onEscapeKeyDown:m,onPointerDownOutside:p,...y}=i,v=wo(Bn,r),x=gu(r),{onClose:S}=v;return O.useEffect(()=>(document.addEventListener(Up,S),()=>document.removeEventListener(Up,S)),[S]),O.useEffect(()=>{if(v.trigger){const h=N=>{N.target?.contains(v.trigger)&&S()};return window.addEventListener("scroll",h,{capture:!0}),()=>window.removeEventListener("scroll",h,{capture:!0})}},[v.trigger,S]),d.jsx(cg,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:m,onPointerDownOutside:p,onFocusOutside:h=>h.preventDefault(),onDismiss:S,children:d.jsxs(Qy,{"data-state":v.stateAttribute,...x,...y,ref:o,style:{...y.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[d.jsx(c1,{children:c}),d.jsx(s1,{scope:r,isInside:!0,children:d.jsx(Py,{id:v.contentId,role:"tooltip",children:f||c})})]})})});n1.displayName=Bn;var kg="TooltipArrow",r1=O.forwardRef((i,o)=>{const{__scopeTooltip:r,...c}=i,f=gu(r);return o1(kg,r).isInside?null:d.jsx(Zy,{...f,...c,ref:o})});r1.displayName=kg;function u1(i,o){const r=Math.abs(o.top-i.y),c=Math.abs(o.bottom-i.y),f=Math.abs(o.right-i.x),m=Math.abs(o.left-i.x);switch(Math.min(r,c,f,m)){case m:return"left";case f:return"right";case r:return"top";case c:return"bottom";default:throw new Error("unreachable")}}function f1(i,o,r=5){const c=[];switch(o){case"top":c.push({x:i.x-r,y:i.y+r},{x:i.x+r,y:i.y+r});break;case"bottom":c.push({x:i.x-r,y:i.y-r},{x:i.x+r,y:i.y-r});break;case"left":c.push({x:i.x+r,y:i.y-r},{x:i.x+r,y:i.y+r});break;case"right":c.push({x:i.x-r,y:i.y-r},{x:i.x-r,y:i.y+r});break}return c}function d1(i){const{top:o,right:r,bottom:c,left:f}=i;return[{x:f,y:o},{x:r,y:o},{x:r,y:c},{x:f,y:c}]}function m1(i,o){const{x:r,y:c}=i;let f=!1;for(let m=0,p=o.length-1;mc!=N>c&&r<(h-x)*(c-S)/(N-S)+x&&(f=!f)}return f}function p1(i){const o=i.slice();return o.sort((r,c)=>r.xc.x?1:r.yc.y?1:0),g1(o)}function g1(i){if(i.length<=1)return i.slice();const o=[];for(let c=0;c=2;){const m=o[o.length-1],p=o[o.length-2];if((m.x-p.x)*(f.y-p.y)>=(m.y-p.y)*(f.x-p.x))o.pop();else break}o.push(f)}o.pop();const r=[];for(let c=i.length-1;c>=0;c--){const f=i[c];for(;r.length>=2;){const m=r[r.length-1],p=r[r.length-2];if((m.x-p.x)*(f.y-p.y)>=(m.y-p.y)*(f.x-p.x))r.pop();else break}r.push(f)}return r.pop(),o.length===1&&r.length===1&&o[0].x===r[0].x&&o[0].y===r[0].y?o:o.concat(r)}var h1=Bg;function qg(i){var o,r,c="";if(typeof i=="string"||typeof i=="number")c+=i;else if(typeof i=="object")if(Array.isArray(i)){var f=i.length;for(o=0;o{const o=y1(i),{conflictingClassGroups:r,conflictingClassGroupModifiers:c}=i;return{getClassGroupId:p=>{const y=p.split(hu);return y[0]===""&&y.length!==1&&y.shift(),Vg(y,o)||v1(p)},getConflictingClassGroupIds:(p,y)=>{const v=r[p]||[];return y&&c[p]?[...v,...c[p]]:v}}},Vg=(i,o)=>{if(i.length===0)return o.classGroupId;const r=i[0],c=o.nextPart.get(r),f=c?Vg(i.slice(1),c):void 0;if(f)return f;if(o.validators.length===0)return;const m=i.join(hu);return o.validators.find(({validator:p})=>p(m))?.classGroupId},Lp=/^\[(.+)\]$/,v1=i=>{if(Lp.test(i)){const o=Lp.exec(i)[1],r=o?.substring(0,o.indexOf(":"));if(r)return"arbitrary.."+r}},y1=i=>{const{theme:o,classGroups:r}=i,c={nextPart:new Map,validators:[]};for(const f in r)lu(r[f],c,f,o);return c},lu=(i,o,r,c)=>{i.forEach(f=>{if(typeof f=="string"){const m=f===""?o:kp(o,f);m.classGroupId=r;return}if(typeof f=="function"){if(b1(f)){lu(f(c),o,r,c);return}o.validators.push({validator:f,classGroupId:r});return}Object.entries(f).forEach(([m,p])=>{lu(p,kp(o,m),r,c)})})},kp=(i,o)=>{let r=i;return o.split(hu).forEach(c=>{r.nextPart.has(c)||r.nextPart.set(c,{nextPart:new Map,validators:[]}),r=r.nextPart.get(c)}),r},b1=i=>i.isThemeGetter,S1=i=>{if(i<1)return{get:()=>{},set:()=>{}};let o=0,r=new Map,c=new Map;const f=(m,p)=>{r.set(m,p),o++,o>i&&(o=0,c=r,r=new Map)};return{get(m){let p=r.get(m);if(p!==void 0)return p;if((p=c.get(m))!==void 0)return f(m,p),p},set(m,p){r.has(m)?r.set(m,p):f(m,p)}}},nu="!",iu=":",E1=iu.length,w1=i=>{const{prefix:o,experimentalParseClassName:r}=i;let c=f=>{const m=[];let p=0,y=0,v=0,x;for(let M=0;Mv?x-v:void 0;return{modifiers:m,hasImportantModifier:N,baseClassName:h,maybePostfixModifierPosition:z}};if(o){const f=o+iu,m=c;c=p=>p.startsWith(f)?m(p.substring(f.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:p,maybePostfixModifierPosition:void 0}}if(r){const f=c;c=m=>r({className:m,parseClassName:f})}return c},A1=i=>i.endsWith(nu)?i.substring(0,i.length-1):i.startsWith(nu)?i.substring(1):i,T1=i=>{const o=Object.fromEntries(i.orderSensitiveModifiers.map(c=>[c,!0]));return c=>{if(c.length<=1)return c;const f=[];let m=[];return c.forEach(p=>{p[0]==="["||o[p]?(f.push(...m.sort(),p),m=[]):m.push(p)}),f.push(...m.sort()),f}},N1=i=>({cache:S1(i.cacheSize),parseClassName:w1(i),sortModifiers:T1(i),...x1(i)}),j1=/\s+/,C1=(i,o)=>{const{parseClassName:r,getClassGroupId:c,getConflictingClassGroupIds:f,sortModifiers:m}=o,p=[],y=i.trim().split(j1);let v="";for(let x=y.length-1;x>=0;x-=1){const S=y[x],{isExternal:h,modifiers:N,hasImportantModifier:z,baseClassName:M,maybePostfixModifierPosition:q}=r(S);if(h){v=S+(v.length>0?" "+v:v);continue}let G=!!q,V=c(G?M.substring(0,q):M);if(!V){if(!G){v=S+(v.length>0?" "+v:v);continue}if(V=c(M),!V){v=S+(v.length>0?" "+v:v);continue}G=!1}const P=m(N).join(":"),J=z?P+nu:P,W=J+V;if(p.includes(W))continue;p.push(W);const I=f(V,G);for(let ne=0;ne0?" "+v:v)}return v};function H1(){let i=0,o,r,c="";for(;i{if(typeof i=="string")return i;let o,r="";for(let c=0;ch(S),i());return r=N1(x),c=r.cache.get,f=r.cache.set,m=y,y(v)}function y(v){const x=c(v);if(x)return x;const S=C1(v,r);return f(v,S),S}return function(){return m(H1.apply(null,arguments))}}const Ie=i=>{const o=r=>r[i]||[];return o.isThemeGetter=!0,o},Xg=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Qg=/^\((?:(\w[\w-]*):)?(.+)\)$/i,O1=/^\d+\/\d+$/,M1=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,_1=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,D1=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,R1=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,B1=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,_n=i=>O1.test(i),ye=i=>!!i&&!Number.isNaN(Number(i)),dl=i=>!!i&&Number.isInteger(Number(i)),Zr=i=>i.endsWith("%")&&ye(i.slice(0,-1)),Da=i=>M1.test(i),U1=()=>!0,L1=i=>_1.test(i)&&!D1.test(i),Zg=()=>!1,k1=i=>R1.test(i),q1=i=>B1.test(i),Y1=i=>!ee(i)&&!te(i),V1=i=>kn(i,Fg,Zg),ee=i=>Xg.test(i),kl=i=>kn(i,Wg,L1),Kr=i=>kn(i,K1,ye),qp=i=>kn(i,Kg,Zg),G1=i=>kn(i,Jg,q1),oo=i=>kn(i,$g,k1),te=i=>Qg.test(i),Li=i=>qn(i,Wg),X1=i=>qn(i,J1),Yp=i=>qn(i,Kg),Q1=i=>qn(i,Fg),Z1=i=>qn(i,Jg),co=i=>qn(i,$g,!0),kn=(i,o,r)=>{const c=Xg.exec(i);return c?c[1]?o(c[1]):r(c[2]):!1},qn=(i,o,r=!1)=>{const c=Qg.exec(i);return c?c[1]?o(c[1]):r:!1},Kg=i=>i==="position"||i==="percentage",Jg=i=>i==="image"||i==="url",Fg=i=>i==="length"||i==="size"||i==="bg-size",Wg=i=>i==="length",K1=i=>i==="number",J1=i=>i==="family-name",$g=i=>i==="shadow",F1=()=>{const i=Ie("color"),o=Ie("font"),r=Ie("text"),c=Ie("font-weight"),f=Ie("tracking"),m=Ie("leading"),p=Ie("breakpoint"),y=Ie("container"),v=Ie("spacing"),x=Ie("radius"),S=Ie("shadow"),h=Ie("inset-shadow"),N=Ie("text-shadow"),z=Ie("drop-shadow"),M=Ie("blur"),q=Ie("perspective"),G=Ie("aspect"),V=Ie("ease"),P=Ie("animate"),J=()=>["auto","avoid","all","avoid-page","page","left","right","column"],W=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],I=()=>[...W(),te,ee],ne=()=>["auto","hidden","clip","visible","scroll"],Q=()=>["auto","contain","none"],Z=()=>[te,ee,v],me=()=>[_n,"full","auto",...Z()],Se=()=>[dl,"none","subgrid",te,ee],Ce=()=>["auto",{span:["full",dl,te,ee]},dl,te,ee],ge=()=>[dl,"auto",te,ee],he=()=>["auto","min","max","fr",te,ee],ve=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],be=()=>["start","end","center","stretch","center-safe","end-safe"],A=()=>["auto",...Z()],L=()=>[_n,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...Z()],_=()=>[i,te,ee],ie=()=>[...W(),Yp,qp,{position:[te,ee]}],ce=()=>["no-repeat",{repeat:["","x","y","space","round"]}],E=()=>["auto","cover","contain",Q1,V1,{size:[te,ee]}],U=()=>[Zr,Li,kl],B=()=>["","none","full",x,te,ee],X=()=>["",ye,Li,kl],F=()=>["solid","dashed","dotted","double"],se=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ae=()=>[ye,Zr,Yp,qp],ue=()=>["","none",M,te,ee],Ne=()=>["none",ye,te,ee],lt=()=>["none",ye,te,ee],mt=()=>[ye,te,ee],nt=()=>[_n,"full",...Z()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Da],breakpoint:[Da],color:[U1],container:[Da],"drop-shadow":[Da],ease:["in","out","in-out"],font:[Y1],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Da],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Da],shadow:[Da],spacing:["px",ye],text:[Da],"text-shadow":[Da],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",_n,ee,te,G]}],container:["container"],columns:[{columns:[ye,ee,te,y]}],"break-after":[{"break-after":J()}],"break-before":[{"break-before":J()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:I()}],overflow:[{overflow:ne()}],"overflow-x":[{"overflow-x":ne()}],"overflow-y":[{"overflow-y":ne()}],overscroll:[{overscroll:Q()}],"overscroll-x":[{"overscroll-x":Q()}],"overscroll-y":[{"overscroll-y":Q()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:me()}],"inset-x":[{"inset-x":me()}],"inset-y":[{"inset-y":me()}],start:[{start:me()}],end:[{end:me()}],top:[{top:me()}],right:[{right:me()}],bottom:[{bottom:me()}],left:[{left:me()}],visibility:["visible","invisible","collapse"],z:[{z:[dl,"auto",te,ee]}],basis:[{basis:[_n,"full","auto",y,...Z()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[ye,_n,"auto","initial","none",ee]}],grow:[{grow:["",ye,te,ee]}],shrink:[{shrink:["",ye,te,ee]}],order:[{order:[dl,"first","last","none",te,ee]}],"grid-cols":[{"grid-cols":Se()}],"col-start-end":[{col:Ce()}],"col-start":[{"col-start":ge()}],"col-end":[{"col-end":ge()}],"grid-rows":[{"grid-rows":Se()}],"row-start-end":[{row:Ce()}],"row-start":[{"row-start":ge()}],"row-end":[{"row-end":ge()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":he()}],"auto-rows":[{"auto-rows":he()}],gap:[{gap:Z()}],"gap-x":[{"gap-x":Z()}],"gap-y":[{"gap-y":Z()}],"justify-content":[{justify:[...ve(),"normal"]}],"justify-items":[{"justify-items":[...be(),"normal"]}],"justify-self":[{"justify-self":["auto",...be()]}],"align-content":[{content:["normal",...ve()]}],"align-items":[{items:[...be(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...be(),{baseline:["","last"]}]}],"place-content":[{"place-content":ve()}],"place-items":[{"place-items":[...be(),"baseline"]}],"place-self":[{"place-self":["auto",...be()]}],p:[{p:Z()}],px:[{px:Z()}],py:[{py:Z()}],ps:[{ps:Z()}],pe:[{pe:Z()}],pt:[{pt:Z()}],pr:[{pr:Z()}],pb:[{pb:Z()}],pl:[{pl:Z()}],m:[{m:A()}],mx:[{mx:A()}],my:[{my:A()}],ms:[{ms:A()}],me:[{me:A()}],mt:[{mt:A()}],mr:[{mr:A()}],mb:[{mb:A()}],ml:[{ml:A()}],"space-x":[{"space-x":Z()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":Z()}],"space-y-reverse":["space-y-reverse"],size:[{size:L()}],w:[{w:[y,"screen",...L()]}],"min-w":[{"min-w":[y,"screen","none",...L()]}],"max-w":[{"max-w":[y,"screen","none","prose",{screen:[p]},...L()]}],h:[{h:["screen","lh",...L()]}],"min-h":[{"min-h":["screen","lh","none",...L()]}],"max-h":[{"max-h":["screen","lh",...L()]}],"font-size":[{text:["base",r,Li,kl]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[c,te,Kr]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Zr,ee]}],"font-family":[{font:[X1,ee,o]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[f,te,ee]}],"line-clamp":[{"line-clamp":[ye,"none",te,Kr]}],leading:[{leading:[m,...Z()]}],"list-image":[{"list-image":["none",te,ee]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",te,ee]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:_()}],"text-color":[{text:_()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...F(),"wavy"]}],"text-decoration-thickness":[{decoration:[ye,"from-font","auto",te,kl]}],"text-decoration-color":[{decoration:_()}],"underline-offset":[{"underline-offset":[ye,"auto",te,ee]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:Z()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",te,ee]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",te,ee]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:ie()}],"bg-repeat":[{bg:ce()}],"bg-size":[{bg:E()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},dl,te,ee],radial:["",te,ee],conic:[dl,te,ee]},Z1,G1]}],"bg-color":[{bg:_()}],"gradient-from-pos":[{from:U()}],"gradient-via-pos":[{via:U()}],"gradient-to-pos":[{to:U()}],"gradient-from":[{from:_()}],"gradient-via":[{via:_()}],"gradient-to":[{to:_()}],rounded:[{rounded:B()}],"rounded-s":[{"rounded-s":B()}],"rounded-e":[{"rounded-e":B()}],"rounded-t":[{"rounded-t":B()}],"rounded-r":[{"rounded-r":B()}],"rounded-b":[{"rounded-b":B()}],"rounded-l":[{"rounded-l":B()}],"rounded-ss":[{"rounded-ss":B()}],"rounded-se":[{"rounded-se":B()}],"rounded-ee":[{"rounded-ee":B()}],"rounded-es":[{"rounded-es":B()}],"rounded-tl":[{"rounded-tl":B()}],"rounded-tr":[{"rounded-tr":B()}],"rounded-br":[{"rounded-br":B()}],"rounded-bl":[{"rounded-bl":B()}],"border-w":[{border:X()}],"border-w-x":[{"border-x":X()}],"border-w-y":[{"border-y":X()}],"border-w-s":[{"border-s":X()}],"border-w-e":[{"border-e":X()}],"border-w-t":[{"border-t":X()}],"border-w-r":[{"border-r":X()}],"border-w-b":[{"border-b":X()}],"border-w-l":[{"border-l":X()}],"divide-x":[{"divide-x":X()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":X()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...F(),"hidden","none"]}],"divide-style":[{divide:[...F(),"hidden","none"]}],"border-color":[{border:_()}],"border-color-x":[{"border-x":_()}],"border-color-y":[{"border-y":_()}],"border-color-s":[{"border-s":_()}],"border-color-e":[{"border-e":_()}],"border-color-t":[{"border-t":_()}],"border-color-r":[{"border-r":_()}],"border-color-b":[{"border-b":_()}],"border-color-l":[{"border-l":_()}],"divide-color":[{divide:_()}],"outline-style":[{outline:[...F(),"none","hidden"]}],"outline-offset":[{"outline-offset":[ye,te,ee]}],"outline-w":[{outline:["",ye,Li,kl]}],"outline-color":[{outline:_()}],shadow:[{shadow:["","none",S,co,oo]}],"shadow-color":[{shadow:_()}],"inset-shadow":[{"inset-shadow":["none",h,co,oo]}],"inset-shadow-color":[{"inset-shadow":_()}],"ring-w":[{ring:X()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:_()}],"ring-offset-w":[{"ring-offset":[ye,kl]}],"ring-offset-color":[{"ring-offset":_()}],"inset-ring-w":[{"inset-ring":X()}],"inset-ring-color":[{"inset-ring":_()}],"text-shadow":[{"text-shadow":["none",N,co,oo]}],"text-shadow-color":[{"text-shadow":_()}],opacity:[{opacity:[ye,te,ee]}],"mix-blend":[{"mix-blend":[...se(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":se()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[ye]}],"mask-image-linear-from-pos":[{"mask-linear-from":ae()}],"mask-image-linear-to-pos":[{"mask-linear-to":ae()}],"mask-image-linear-from-color":[{"mask-linear-from":_()}],"mask-image-linear-to-color":[{"mask-linear-to":_()}],"mask-image-t-from-pos":[{"mask-t-from":ae()}],"mask-image-t-to-pos":[{"mask-t-to":ae()}],"mask-image-t-from-color":[{"mask-t-from":_()}],"mask-image-t-to-color":[{"mask-t-to":_()}],"mask-image-r-from-pos":[{"mask-r-from":ae()}],"mask-image-r-to-pos":[{"mask-r-to":ae()}],"mask-image-r-from-color":[{"mask-r-from":_()}],"mask-image-r-to-color":[{"mask-r-to":_()}],"mask-image-b-from-pos":[{"mask-b-from":ae()}],"mask-image-b-to-pos":[{"mask-b-to":ae()}],"mask-image-b-from-color":[{"mask-b-from":_()}],"mask-image-b-to-color":[{"mask-b-to":_()}],"mask-image-l-from-pos":[{"mask-l-from":ae()}],"mask-image-l-to-pos":[{"mask-l-to":ae()}],"mask-image-l-from-color":[{"mask-l-from":_()}],"mask-image-l-to-color":[{"mask-l-to":_()}],"mask-image-x-from-pos":[{"mask-x-from":ae()}],"mask-image-x-to-pos":[{"mask-x-to":ae()}],"mask-image-x-from-color":[{"mask-x-from":_()}],"mask-image-x-to-color":[{"mask-x-to":_()}],"mask-image-y-from-pos":[{"mask-y-from":ae()}],"mask-image-y-to-pos":[{"mask-y-to":ae()}],"mask-image-y-from-color":[{"mask-y-from":_()}],"mask-image-y-to-color":[{"mask-y-to":_()}],"mask-image-radial":[{"mask-radial":[te,ee]}],"mask-image-radial-from-pos":[{"mask-radial-from":ae()}],"mask-image-radial-to-pos":[{"mask-radial-to":ae()}],"mask-image-radial-from-color":[{"mask-radial-from":_()}],"mask-image-radial-to-color":[{"mask-radial-to":_()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":W()}],"mask-image-conic-pos":[{"mask-conic":[ye]}],"mask-image-conic-from-pos":[{"mask-conic-from":ae()}],"mask-image-conic-to-pos":[{"mask-conic-to":ae()}],"mask-image-conic-from-color":[{"mask-conic-from":_()}],"mask-image-conic-to-color":[{"mask-conic-to":_()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:ie()}],"mask-repeat":[{mask:ce()}],"mask-size":[{mask:E()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",te,ee]}],filter:[{filter:["","none",te,ee]}],blur:[{blur:ue()}],brightness:[{brightness:[ye,te,ee]}],contrast:[{contrast:[ye,te,ee]}],"drop-shadow":[{"drop-shadow":["","none",z,co,oo]}],"drop-shadow-color":[{"drop-shadow":_()}],grayscale:[{grayscale:["",ye,te,ee]}],"hue-rotate":[{"hue-rotate":[ye,te,ee]}],invert:[{invert:["",ye,te,ee]}],saturate:[{saturate:[ye,te,ee]}],sepia:[{sepia:["",ye,te,ee]}],"backdrop-filter":[{"backdrop-filter":["","none",te,ee]}],"backdrop-blur":[{"backdrop-blur":ue()}],"backdrop-brightness":[{"backdrop-brightness":[ye,te,ee]}],"backdrop-contrast":[{"backdrop-contrast":[ye,te,ee]}],"backdrop-grayscale":[{"backdrop-grayscale":["",ye,te,ee]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[ye,te,ee]}],"backdrop-invert":[{"backdrop-invert":["",ye,te,ee]}],"backdrop-opacity":[{"backdrop-opacity":[ye,te,ee]}],"backdrop-saturate":[{"backdrop-saturate":[ye,te,ee]}],"backdrop-sepia":[{"backdrop-sepia":["",ye,te,ee]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":Z()}],"border-spacing-x":[{"border-spacing-x":Z()}],"border-spacing-y":[{"border-spacing-y":Z()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",te,ee]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[ye,"initial",te,ee]}],ease:[{ease:["linear","initial",V,te,ee]}],delay:[{delay:[ye,te,ee]}],animate:[{animate:["none",P,te,ee]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[q,te,ee]}],"perspective-origin":[{"perspective-origin":I()}],rotate:[{rotate:Ne()}],"rotate-x":[{"rotate-x":Ne()}],"rotate-y":[{"rotate-y":Ne()}],"rotate-z":[{"rotate-z":Ne()}],scale:[{scale:lt()}],"scale-x":[{"scale-x":lt()}],"scale-y":[{"scale-y":lt()}],"scale-z":[{"scale-z":lt()}],"scale-3d":["scale-3d"],skew:[{skew:mt()}],"skew-x":[{"skew-x":mt()}],"skew-y":[{"skew-y":mt()}],transform:[{transform:[te,ee,"","none","gpu","cpu"]}],"transform-origin":[{origin:I()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:nt()}],"translate-x":[{"translate-x":nt()}],"translate-y":[{"translate-y":nt()}],"translate-z":[{"translate-z":nt()}],"translate-none":["translate-none"],accent:[{accent:_()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:_()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",te,ee]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":Z()}],"scroll-mx":[{"scroll-mx":Z()}],"scroll-my":[{"scroll-my":Z()}],"scroll-ms":[{"scroll-ms":Z()}],"scroll-me":[{"scroll-me":Z()}],"scroll-mt":[{"scroll-mt":Z()}],"scroll-mr":[{"scroll-mr":Z()}],"scroll-mb":[{"scroll-mb":Z()}],"scroll-ml":[{"scroll-ml":Z()}],"scroll-p":[{"scroll-p":Z()}],"scroll-px":[{"scroll-px":Z()}],"scroll-py":[{"scroll-py":Z()}],"scroll-ps":[{"scroll-ps":Z()}],"scroll-pe":[{"scroll-pe":Z()}],"scroll-pt":[{"scroll-pt":Z()}],"scroll-pr":[{"scroll-pr":Z()}],"scroll-pb":[{"scroll-pb":Z()}],"scroll-pl":[{"scroll-pl":Z()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",te,ee]}],fill:[{fill:["none",..._()]}],"stroke-w":[{stroke:[ye,Li,kl,Kr]}],stroke:[{stroke:["none",..._()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},W1=z1(F1);function Ao(...i){return W1(Yg(i))}function $1({delayDuration:i=0,...o}){return d.jsx(h1,{"data-loc":"client/src/components/ui/tooltip.tsx:11","data-slot":"tooltip-provider",delayDuration:i,...o})}const Vp=i=>typeof i=="boolean"?`${i}`:i===0?"0":i,Gp=Yg,P1=(i,o)=>r=>{var c;if(o?.variants==null)return Gp(i,r?.class,r?.className);const{variants:f,defaultVariants:m}=o,p=Object.keys(f).map(x=>{const S=r?.[x],h=m?.[x];if(S===null)return null;const N=Vp(S)||Vp(h);return f[x][N]}),y=r&&Object.entries(r).reduce((x,S)=>{let[h,N]=S;return N===void 0||(x[h]=N),x},{}),v=o==null||(c=o.compoundVariants)===null||c===void 0?void 0:c.reduce((x,S)=>{let{class:h,className:N,...z}=S;return Object.entries(z).every(M=>{let[q,G]=M;return Array.isArray(G)?G.includes({...m,...y}[q]):{...m,...y}[q]===G})?[...x,h,N]:x},[]);return Gp(i,p,v,r?.class,r?.className)},I1=P1("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-transparent shadow-xs hover:bg-accent dark:bg-transparent dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9","icon-sm":"size-8","icon-lg":"size-10"}},defaultVariants:{variant:"default",size:"default"}});function eb({className:i,variant:o,size:r,asChild:c=!1,...f}){const m=c?uv:"button";return d.jsx(m,{"data-loc":"client/src/components/ui/button.tsx:52","data-slot":"button",className:Ao(I1({variant:o,size:r,className:i})),...f})}function tb({className:i,...o}){return d.jsx("div",{"data-loc":"client/src/components/ui/card.tsx:7","data-slot":"card",className:Ao("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",i),...o})}function ab({className:i,...o}){return d.jsx("div",{"data-loc":"client/src/components/ui/card.tsx:66","data-slot":"card-content",className:Ao("px-6",i),...o})}/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const lb=i=>i.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Pg=(...i)=>i.filter((o,r,c)=>!!o&&c.indexOf(o)===r).join(" ");/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */var nb={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const ib=O.forwardRef(({color:i="currentColor",size:o=24,strokeWidth:r=2,absoluteStrokeWidth:c,className:f="",children:m,iconNode:p,...y},v)=>O.createElement("svg",{ref:v,...nb,width:o,height:o,stroke:i,strokeWidth:c?Number(r)*24/Number(o):r,className:Pg("lucide",f),...y},[...p.map(([x,S])=>O.createElement(x,S)),...Array.isArray(m)?m:[m]]));/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Ue=(i,o)=>{const r=O.forwardRef(({className:c,...f},m)=>O.createElement(ib,{ref:m,iconNode:o,className:Pg(`lucide-${lb(i)}`,c),...f}));return r.displayName=`${i}`,r};/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Xp=Ue("ArrowDownRight",[["path",{d:"m7 7 10 10",key:"1fmybs"}],["path",{d:"M17 7v10H7",key:"6fjiku"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const ro=Ue("ArrowUpRight",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const sb=Ue("BriefcaseBusiness",[["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M16 6V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2",key:"1ksdt3"}],["path",{d:"M22 13a18.15 18.15 0 0 1-20 0",key:"12hx5q"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const ob=Ue("Building2",[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const cb=Ue("BusFront",[["path",{d:"M4 6 2 7",key:"1mqr15"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"m22 7-2-1",key:"1umjhc"}],["rect",{width:"16",height:"16",x:"4",y:"3",rx:"2",key:"1wxw4b"}],["path",{d:"M4 11h16",key:"mpoxn0"}],["path",{d:"M8 15h.01",key:"a7atzg"}],["path",{d:"M16 15h.01",key:"rnfrdf"}],["path",{d:"M6 19v2",key:"1loha6"}],["path",{d:"M18 21v-2",key:"sqyl04"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const rb=Ue("CalendarDays",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 18h.01",key:"lrp35t"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M16 18h.01",key:"kzsmim"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const ql=Ue("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const ub=Ue("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const fb=Ue("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const db=Ue("CircleDollarSign",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M16 8h-6a2 2 0 1 0 0 4h4a2 2 0 1 1 0 4H8",key:"1h4pet"}],["path",{d:"M12 18V6",key:"zqpxq5"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const mb=Ue("Compass",[["path",{d:"m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z",key:"9ktpf1"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const pb=Ue("Gift",[["rect",{x:"3",y:"8",width:"18",height:"4",rx:"1",key:"bkv52"}],["path",{d:"M12 8v13",key:"1c76mn"}],["path",{d:"M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7",key:"6wjy6b"}],["path",{d:"M7.5 8a2.5 2.5 0 0 1 0-5A4.8 8 0 0 1 12 8a4.8 8 0 0 1 4.5-5 2.5 2.5 0 0 1 0 5",key:"1ihvrl"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const gb=Ue("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const hb=Ue("Hotel",[["path",{d:"M10 22v-6.57",key:"1wmca3"}],["path",{d:"M12 11h.01",key:"z322tv"}],["path",{d:"M12 7h.01",key:"1ivr5q"}],["path",{d:"M14 15.43V22",key:"1q2vjd"}],["path",{d:"M15 16a5 5 0 0 0-6 0",key:"o9wqvi"}],["path",{d:"M16 11h.01",key:"xkw8gn"}],["path",{d:"M16 7h.01",key:"1kdx03"}],["path",{d:"M8 11h.01",key:"1dfujw"}],["path",{d:"M8 7h.01",key:"1vti4s"}],["rect",{x:"4",y:"2",width:"16",height:"20",rx:"2",key:"1uxh74"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const xb=Ue("House",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const vb=Ue("Luggage",[["path",{d:"M6 20a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2",key:"1m57jg"}],["path",{d:"M8 18V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v14",key:"1l99gc"}],["path",{d:"M10 20h4",key:"ni2waw"}],["circle",{cx:"16",cy:"20",r:"2",key:"1vifvg"}],["circle",{cx:"8",cy:"20",r:"2",key:"ckkr5m"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const yb=Ue("MapPin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const bb=Ue("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Qp=Ue("MessageCircle",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Sb=Ue("Plane",[["path",{d:"M17.8 19.2 16 11l3.5-3.5C21 6 21.5 4 21 3c-1-.5-3 0-4.5 1.5L13 8 4.8 6.2c-.5-.1-.9.1-1.1.5l-.3.5c-.2.5-.1 1 .3 1.3L9 12l-2 3H4l-1 1 3 2 2 3 1-1v-3l3-2 3.5 5.3c.3.4.8.5 1.3.3l.5-.2c.4-.3.6-.7.5-1.2z",key:"1v9wt8"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Eb=Ue("RotateCcw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const wb=Ue("ShieldCheck",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Ab=Ue("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Tb=Ue("Ticket",[["path",{d:"M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z",key:"qn84l0"}],["path",{d:"M13 5v2",key:"dyzc3o"}],["path",{d:"M13 17v2",key:"1ont0d"}],["path",{d:"M13 11v2",key:"1wjjxi"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Nb=Ue("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Ig=Ue("UsersRound",[["path",{d:"M18 21a8 8 0 0 0-16 0",key:"3ypg7q"}],["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}],["path",{d:"M22 20c0-3.37-2-6.5-4-8a5 5 0 0 0-.45-8.3",key:"10s06x"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const jb=Ue("UtensilsCrossed",[["path",{d:"m16 2-2.3 2.3a3 3 0 0 0 0 4.2l1.8 1.8a3 3 0 0 0 4.2 0L22 8",key:"n7qcjb"}],["path",{d:"M15 15 3.3 3.3a4.2 4.2 0 0 0 0 6l7.3 7.3c.7.7 2 .7 2.8 0L15 15Zm0 0 7 7",key:"d0u48b"}],["path",{d:"m2.1 21.8 6.4-6.3",key:"yn04lh"}],["path",{d:"m19 5-7 7",key:"194lzd"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Cb=Ue("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function Hb(i,o){if(i instanceof RegExp)return{keys:!1,pattern:i};var r,c,f,m,p=[],y="",v=i.split("/");for(v[0]||v.shift();f=v.shift();)r=f[0],r==="*"?(p.push(r),y+=f[1]==="?"?"(?:/(.*))?":"/(.*)"):r===":"?(c=f.indexOf("?",1),m=f.indexOf(".",1),p.push(f.substring(1,~c?c:~m?m:f.length)),y+=~c&&!~m?"(?:/([^/]+?))?":"/([^/]+?)",~m&&(y+=(~c?"?":"")+"\\"+f.substring(m))):y+="/"+f;return{keys:p,pattern:new RegExp("^"+y+(o?"(?=$|/)":"/?$"),"i")}}var Jr={exports:{}},Fr={};/** * @license React * use-sync-external-store-shim.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var Zp;function zb(){if(Zp)return Fr;Zp=1;var i=ho();function o(h,N){return h===N&&(h!==0||1/h===1/N)||h!==h&&N!==N}var r=typeof Object.is=="function"?Object.is:o,c=i.useState,f=i.useEffect,m=i.useLayoutEffect,p=i.useDebugValue;function y(h,N){var z=N(),M=c({inst:{value:z,getSnapshot:N}}),q=M[0].inst,G=M[1];return m(function(){q.value=z,q.getSnapshot=N,v(q)&&G({inst:q})},[h,z,N]),f(function(){return v(q)&&G({inst:q}),h(function(){v(q)&&G({inst:q})})},[h]),p(z),z}function v(h){var N=h.getSnapshot;h=h.value;try{var z=N();return!r(h,z)}catch{return!0}}function x(h,N){return N()}var S=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?x:y;return Fr.useSyncExternalStore=i.useSyncExternalStore!==void 0?i.useSyncExternalStore:S,Fr}var Kp;function Ob(){return Kp||(Kp=1,Jr.exports=zb()),Jr.exports}var Mb=Ob();const _b=Hx.useInsertionEffect,Db=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Rb=Db?O.useLayoutEffect:O.useEffect,Bb=_b||Rb,eh=i=>{const o=O.useRef([i,(...r)=>o[0](...r)]).current;return Bb(()=>{o[0]=i}),o[1]},Ub="popstate",xu="pushState",vu="replaceState",Lb="hashchange",Jp=[Ub,xu,vu,Lb],kb=i=>{for(const o of Jp)addEventListener(o,i);return()=>{for(const o of Jp)removeEventListener(o,i)}},th=(i,o)=>Mb.useSyncExternalStore(kb,i,o),qb=()=>location.search,Yb=({ssrSearch:i=""}={})=>th(qb,()=>i),Fp=()=>location.pathname,Vb=({ssrPath:i}={})=>th(Fp,i?()=>i:Fp),Gb=(i,{replace:o=!1,state:r=null}={})=>history[o?vu:xu](r,"",i),Xb=(i={})=>[Vb(i),Gb],Wp=Symbol.for("wouter_v3");if(typeof history<"u"&&typeof window[Wp]>"u"){for(const i of[xu,vu]){const o=history[i];history[i]=function(){const r=o.apply(this,arguments),c=new Event(i);return c.arguments=arguments,dispatchEvent(c),r}}Object.defineProperty(window,Wp,{value:!0})}const Qb=(i,o)=>o.toLowerCase().indexOf(i.toLowerCase())?"~"+o:o.slice(i.length)||"/",ah=(i="")=>i==="/"?"":i,Zb=(i,o)=>i[0]==="~"?i.slice(1):ah(o)+i,Kb=(i="",o)=>Qb($p(ah(i)),$p(o)),$p=i=>{try{return decodeURI(i)}catch{return i}},lh={hook:Xb,searchHook:Yb,parser:Hb,base:"",ssrPath:void 0,ssrSearch:void 0,ssrContext:void 0,hrefs:i=>i},nh=O.createContext(lh),Gi=()=>O.useContext(nh),ih={},sh=O.createContext(ih),Jb=()=>O.useContext(sh),To=i=>{const[o,r]=i.hook(i);return[Kb(i.base,o),eh((c,f)=>r(Zb(c,i.base),f))]},Fb=()=>To(Gi()),oh=(i,o,r,c)=>{const{pattern:f,keys:m}=o instanceof RegExp?{keys:!1,pattern:o}:i(o||"*",c),p=f.exec(r)||[],[y,...v]=p;return y!==void 0?[!0,(()=>{const x=m!==!1?Object.fromEntries(m.map((h,N)=>[h,v[N]])):p.groups;let S={...v};return x&&Object.assign(S,x),S})(),...c?[y]:[]]:[!1,null]},Wb=({children:i,...o})=>{const r=Gi(),c=o.hook?lh:r;let f=c;const[m,p]=o.ssrPath?.split("?")??[];p&&(o.ssrSearch=p,o.ssrPath=m),o.hrefs=o.hrefs??o.hook?.hrefs;let y=O.useRef({}),v=y.current,x=v;for(let S in c){const h=S==="base"?c[S]+(o[S]||""):o[S]||c[S];v===x&&h!==x[S]&&(y.current=x={...x}),x[S]=h,(h!==c[S]||h!==f[S])&&(f=x)}return O.createElement(nh.Provider,{value:f,children:i})},Pp=({children:i,component:o},r)=>o?O.createElement(o,{params:r}):typeof i=="function"?i(r):i,$b=i=>{let o=O.useRef(ih);const r=o.current;return o.current=Object.keys(i).length!==Object.keys(r).length||Object.entries(i).some(([c,f])=>f!==r[c])?i:r},Wr=({path:i,nest:o,match:r,...c})=>{const f=Gi(),[m]=To(f),[p,y,v]=r??oh(f.parser,i,m,o),x=$b({...Jb(),...y});if(!p)return null;const S=v?O.createElement(Wb,{base:v},Pp(c,x)):Pp(c,x);return O.createElement(sh.Provider,{value:x,children:S})};O.forwardRef((i,o)=>{const r=Gi(),[c,f]=To(r),{to:m="",href:p=m,onClick:y,asChild:v,children:x,className:S,replace:h,state:N,...z}=i,M=eh(G=>{G.ctrlKey||G.metaKey||G.altKey||G.shiftKey||G.button!==0||(y?.(G),G.defaultPrevented||(G.preventDefault(),f(p,i)))}),q=r.hrefs(p[0]==="~"?p.slice(1):r.base+p,r);return v&&O.isValidElement(x)?O.cloneElement(x,{onClick:M,href:q}):O.createElement("a",{...z,onClick:M,href:q,className:S?.call?S(c===p):S,children:x,ref:o})});const su=i=>Array.isArray(i)?i.flatMap(o=>su(o&&o.type===O.Fragment?o.props.children:o)):[i],Pb=({children:i,location:o})=>{const r=Gi(),[c]=To(r);typeof window<"u"&&(window.__WOUTER_ROUTES__||(window.__WOUTER_ROUTES__=[]),su(i).forEach(m=>{if(O.isValidElement(m)&&m.props.path){const p=m.props.path;window.__WOUTER_ROUTES__.includes(p)||window.__WOUTER_ROUTES__.push(p)}}));for(const f of su(i)){let m=0;if(O.isValidElement(f)&&(m=oh(r.parser,f.props.path,o||c,f.props.nest))[0])return O.cloneElement(f,{match:m})}return null};function Ip(){const[,i]=Fb(),o=()=>{i("/")};return d.jsx("div",{"data-loc":"client/src/pages/NotFound.tsx:14",className:"min-h-screen w-full flex items-center justify-center bg-gradient-to-br from-slate-50 to-slate-100",children:d.jsx(tb,{"data-loc":"client/src/pages/NotFound.tsx:15",className:"w-full max-w-lg mx-4 shadow-lg border-0 bg-white/80 backdrop-blur-sm",children:d.jsxs(ab,{"data-loc":"client/src/pages/NotFound.tsx:16",className:"pt-8 pb-8 text-center",children:[d.jsx("div",{"data-loc":"client/src/pages/NotFound.tsx:17",className:"flex justify-center mb-6",children:d.jsxs("div",{"data-loc":"client/src/pages/NotFound.tsx:18",className:"relative",children:[d.jsx("div",{"data-loc":"client/src/pages/NotFound.tsx:19",className:"absolute inset-0 bg-red-100 rounded-full animate-pulse"}),d.jsx(fb,{"data-loc":"client/src/pages/NotFound.tsx:20",className:"relative h-16 w-16 text-red-500"})]})}),d.jsx("h1",{"data-loc":"client/src/pages/NotFound.tsx:24",className:"text-4xl font-bold text-slate-900 mb-2",children:"404"}),d.jsx("h2",{"data-loc":"client/src/pages/NotFound.tsx:26",className:"text-xl font-semibold text-slate-700 mb-4",children:"Page Not Found"}),d.jsxs("p",{"data-loc":"client/src/pages/NotFound.tsx:30",className:"text-slate-600 mb-8 leading-relaxed",children:["Sorry, the page you are looking for doesn't exist.",d.jsx("br",{"data-loc":"client/src/pages/NotFound.tsx:32"}),"It may have been moved or deleted."]}),d.jsx("div",{"data-loc":"client/src/pages/NotFound.tsx:36",className:"flex flex-col sm:flex-row gap-3 justify-center",children:d.jsxs(eb,{"data-loc":"client/src/pages/NotFound.tsx:37",onClick:o,className:"bg-blue-600 hover:bg-blue-700 text-white px-6 py-2.5 rounded-lg transition-all duration-200 shadow-md hover:shadow-lg",children:[d.jsx(xb,{"data-loc":"client/src/pages/NotFound.tsx:41",className:"w-4 h-4 mr-2"}),"Go Home"]})})]})})})}class Ib extends O.Component{constructor(o){super(o),this.state={hasError:!1,error:null}}static getDerivedStateFromError(o){return{hasError:!0,error:o}}render(){return this.state.hasError?d.jsx("div",{"data-loc":"client/src/components/ErrorBoundary.tsx:27",className:"flex items-center justify-center min-h-screen p-8 bg-background",children:d.jsxs("div",{"data-loc":"client/src/components/ErrorBoundary.tsx:28",className:"flex flex-col items-center w-full max-w-2xl p-8",children:[d.jsx(Nb,{"data-loc":"client/src/components/ErrorBoundary.tsx:29",size:48,className:"text-destructive mb-6 flex-shrink-0"}),d.jsx("h2",{"data-loc":"client/src/components/ErrorBoundary.tsx:34",className:"text-xl mb-4",children:"An unexpected error occurred."}),d.jsx("div",{"data-loc":"client/src/components/ErrorBoundary.tsx:36",className:"p-4 w-full rounded bg-muted overflow-auto mb-6",children:d.jsx("pre",{"data-loc":"client/src/components/ErrorBoundary.tsx:37",className:"text-sm text-muted-foreground whitespace-break-spaces",children:this.state.error?.stack})}),d.jsxs("button",{"data-loc":"client/src/components/ErrorBoundary.tsx:42",onClick:()=>window.location.reload(),className:Ao("flex items-center gap-2 px-4 py-2 rounded-lg","bg-primary text-primary-foreground","hover:opacity-90 cursor-pointer"),children:[d.jsx(Eb,{"data-loc":"client/src/components/ErrorBoundary.tsx:50",size:16}),"Reload Page"]})]})}):this.props.children}}const e2=O.createContext(void 0);function t2({children:i,defaultTheme:o="light",switchable:r=!1}){const[c,f]=O.useState(()=>r&&localStorage.getItem("theme")||o);O.useEffect(()=>{const p=document.documentElement;c==="dark"?p.classList.add("dark"):p.classList.remove("dark"),r&&localStorage.setItem("theme",c)},[c,r]);const m=r?()=>{f(p=>p==="light"?"dark":"light")}:void 0;return d.jsx(e2.Provider,{"data-loc":"client/src/contexts/ThemeContext.tsx:52",value:{theme:c,toggleTheme:m,switchable:r},children:i})}const a2=[{icon:Sb,title:"Reservaciones aéreas",text:"Apoyo para gestionar vuelos y opciones de transporte aéreo."},{icon:hb,title:"Hospedaje",text:"Reservación de hoteles y alojamiento según el tipo de viaje."},{icon:cb,title:"Transporte terrestre",text:"Autobuses, transportistas, traslados y movilidad durante el viaje."},{icon:mb,title:"Tours y experiencias",text:"Visitas, recorridos y actividades pensadas para cada destino."},{icon:vb,title:"Paquetes turísticos",text:"Experiencias que integran los servicios que tu ruta necesita."},{icon:yb,title:"Traslados",text:"Coordinación de movilidad para facilitar cada conexión."},{icon:wb,title:"Seguros de viaje",text:"Gestión de opciones para complementar y cuidar tu viaje."},{icon:Ig,title:"Coordinación y acompañamiento",text:"Atención para grupos en experiencias y viajes programados."}],l2=["Viaje organizado a China con acompañamiento durante el recorrido.","Participación en la Feria de Cantón y apoyo con su acceso y registro.","Vuelos internacionales, hospedaje, traslados y logística, según el paquete contratado.","Asistencia en español y acompañamiento durante el viaje.","Orientación para conocer proveedores, productos y zonas comerciales.","Apoyo con el proceso de visa y orientación para compras e importación."],n2=[{icon:gb,title:"Bodas destino",text:"La experiencia completa para que la pareja y sus invitados lleguen, celebren y disfruten sin cargar con la logística."},{icon:jb,title:"Banquetes y celebraciones",text:"Coordinación de viaje y experiencia para celebraciones especiales, de acuerdo con el programa contratado."},{icon:ob,title:"Convenciones y eventos",text:"Reuniones, capacitaciones e integración en destino: resultados durante el día y experiencias memorables después."},{icon:pb,title:"Viajes de incentivo",text:"Una manera de reconocer a colaboradores, clientes o socios con una experiencia organizada de principio a fin."}],i2=["Vuelos y hospedaje","Transporte y traslados","Banquetes y eventos","Tours y actividades","Integración de equipos","Coordinación de grupos","Acompañamiento y logística","Experiencias en destino"],s2=["Tú nos dices qué necesitas.","Diseñamos la experiencia.","Coordinamos vuelos, hospedaje y logística.","Acompañamos al grupo.","Llegan al destino. Nosotros coordinamos. Ustedes disfrutan."],o2=[{month:"Sep",event:"Carín León",departure:"Salida · 8 de septiembre",venue:"The Sphere · Las Vegas",price:"$14,999",visual:"/manus-storage/proyecta-travel-carin-leon-las-vegas_fabca0c0.jpg",visualAlt:"Retrato artístico de Carín León fusionado con Las Vegas de noche",whatsapp:"https://wa.me/526146679460?text=Hola%20Proyecta%20Travel%2C%20quiero%20reservar%20mi%20lugar%20para%20el%20concierto%20de%20Car%C3%ADn%20Le%C3%B3n%20en%20Las%20Vegas."},{month:"Oct",event:"Ricky Martin",departure:"Salida · 28 de octubre",venue:"Fontainebleau · Las Vegas",price:"$14,999",visual:"/manus-storage/proyecta-travel-ricky-martin-las-vegas_0a959772.jpg",visualAlt:"Retrato artístico de Ricky Martin fusionado con Las Vegas de noche",whatsapp:"https://wa.me/526146679460?text=Hola%20Proyecta%20Travel%2C%20quiero%20reservar%20mi%20lugar%20para%20el%20concierto%20de%20Ricky%20Martin%20en%20Las%20Vegas."}],c2=[{number:"01",title:"Mazatlán",tag:"Costa del Pacífico",text:"Viajes y paquetes turísticos de playa y descanso."},{number:"02",title:"Cancún",tag:"Caribe mexicano",text:"Viajes vacacionales y experiencias frente al mar."},{number:"03",title:"Puerto Vallarta",tag:"Bahía & descanso",text:"Paquetes con hospedaje, transporte y experiencias de playa."},{number:"04",title:"Guadalajara · Tequila · Puerto Vallarta",tag:"Ruta terrestre desde Chihuahua",text:"Una experiencia que puede integrar transporte, hospedaje, visitas en Jalisco, Zoológico Guadalajara y estancia Todo Incluido en Puerto Vallarta, de acuerdo con el paquete."}],eg=[["Experiencias","#experiencias"],["Negocios","#china"],["Bodas y grupos","#grupos"],["Destinos","#destinos"],["Paquetes","#paquetes"]];function ml(i){document.querySelector(i)?.scrollIntoView({behavior:"smooth",block:"start"})}function Ra({children:i,light:o=!1}){return d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:165",className:`eyebrow ${o?"eyebrow-light":""}`,children:[d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:166"}),i]})}function r2(){const[i,o]=O.useState(!1),[r,c]=O.useState(!1),f=p=>{p.preventDefault(),c(!0)},m=p=>{o(!1),window.setTimeout(()=>ml(p),80)};return d.jsxs("main",{"data-loc":"client/src/pages/Home.tsx:187",className:"overflow-x-clip bg-[#F7FCF3] text-[#153B5C]",children:[d.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:188",className:"hero-shell relative min-h-[760px] overflow-hidden bg-[#075D9C] text-white",children:[d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:189",className:"absolute inset-0",children:[d.jsx("img",{"data-loc":"client/src/pages/Home.tsx:190",src:"/manus-storage/proyecta-travel-hero-vibrante_79fc5e19.jpg",alt:"Viajeros disfrutando una experiencia internacional junto al mar",className:"h-full w-full object-cover object-center"}),d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:195",className:"absolute inset-0 bg-[linear-gradient(90deg,rgba(0,74,130,.98)_0%,rgba(0,91,159,.89)_43%,rgba(0,114,188,.36)_73%,rgba(0,114,188,.18)_100%)]"}),d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:196",className:"absolute inset-0 bg-[radial-gradient(circle_at_80%_18%,rgba(255,222,23,.30),transparent_31%)]"})]}),d.jsxs("header",{"data-loc":"client/src/pages/Home.tsx:199",className:"relative z-20 mx-auto flex max-w-[1440px] items-center justify-between px-5 py-6 sm:px-8 lg:px-12",children:[d.jsx("a",{"data-loc":"client/src/pages/Home.tsx:200",href:"#inicio",className:"group flex items-center gap-3","aria-label":"Proyecta Travel, inicio",children:d.jsx("img",{"data-loc":"client/src/pages/Home.tsx:201",src:"/manus-storage/Imagotipo_ProyectaTravel_615fd2af.webp",alt:"Proyecta Travel",className:"h-16 w-[216px] rounded-lg bg-white p-2.5 object-contain shadow-xl transition-transform duration-200 group-hover:scale-[1.03] sm:w-[236px]"})}),d.jsxs("nav",{"data-loc":"client/src/pages/Home.tsx:208",className:"hidden items-center gap-7 lg:flex","aria-label":"Navegación principal",children:[eg.map(([p,y])=>d.jsx("button",{"data-loc":"client/src/pages/Home.tsx:210",onClick:()=>ml(y),className:"nav-link",children:p},p)),d.jsx("button",{"data-loc":"client/src/pages/Home.tsx:214",onClick:()=>ml("#contacto"),className:"rounded-full bg-[#8CC63F] px-5 py-3 text-sm font-extrabold text-[#153B5C] transition duration-200 hover:bg-[#B4DC2E] active:scale-[.97]",children:"Planea tu ruta"})]}),d.jsx("button",{"data-loc":"client/src/pages/Home.tsx:219",className:"inline-flex h-11 w-11 items-center justify-center rounded-full border border-white/20 bg-white/10 lg:hidden",onClick:()=>o(!0),"aria-label":"Abrir menú",children:d.jsx(bb,{"data-loc":"client/src/pages/Home.tsx:224",size:22})})]}),i&&d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:229",className:"fixed inset-0 z-50 bg-[#075D9C] px-6 py-6 text-white lg:hidden",children:[d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:230",className:"flex items-center justify-between",children:[d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:231",className:"text-xs font-extrabold tracking-[0.25em]",children:"PROYECTA TRAVEL"}),d.jsx("button",{"data-loc":"client/src/pages/Home.tsx:232",className:"inline-flex h-11 w-11 items-center justify-center rounded-full border border-white/20",onClick:()=>o(!1),"aria-label":"Cerrar menú",children:d.jsx(Cb,{"data-loc":"client/src/pages/Home.tsx:233",size:22})})]}),d.jsxs("nav",{"data-loc":"client/src/pages/Home.tsx:236",className:"mt-20 flex flex-col gap-7","aria-label":"Navegación móvil",children:[eg.map(([p,y],v)=>d.jsxs("button",{"data-loc":"client/src/pages/Home.tsx:238",onClick:()=>m(y),className:"flex items-center justify-between border-b border-white/15 pb-4 text-left font-serif text-4xl",children:[p,d.jsxs("span",{"data-loc":"client/src/pages/Home.tsx:240",className:"font-sans text-sm text-[#FFDE17]",children:["0",v+1]})]},p)),d.jsx("button",{"data-loc":"client/src/pages/Home.tsx:243",onClick:()=>m("#contacto"),className:"mt-4 rounded-full bg-[#8CC63F] px-6 py-4 text-left text-sm font-extrabold text-[#153B5C]",children:"Solicita una asesoría"})]})]}),d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:250",id:"inicio",className:"relative z-10 mx-auto flex min-h-[645px] max-w-[1440px] items-end px-5 pb-16 pt-16 sm:px-8 lg:px-12 lg:pb-24",children:[d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:251",className:"hero-route-orbit pointer-events-none absolute right-[5%] top-[14%] hidden h-64 w-64 rounded-full lg:block","aria-hidden":"true",children:d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:251"})}),d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:252",className:"brand-hero-seal pointer-events-none absolute right-[7%] top-[7.5rem] hidden items-center gap-3 lg:flex","aria-hidden":"true",children:[d.jsx("img",{"data-loc":"client/src/pages/Home.tsx:253",src:"/manus-storage/Isotipo_ProyectaTravel_fd1bfe37.jpg",alt:"",className:"h-16 w-16 rounded-full bg-white object-contain p-1 shadow-xl"}),d.jsxs("span",{"data-loc":"client/src/pages/Home.tsx:254",children:["RUTAS CON PROPÓSITO",d.jsx("br",{"data-loc":"client/src/pages/Home.tsx:254"}),"DESDE EL PRIMER PASO"]})]}),d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:256",className:"max-w-3xl",children:[d.jsx(Ra,{"data-loc":"client/src/pages/Home.tsx:257",light:!0,children:"Tu ruta, coordinada de principio a fin"}),d.jsxs("h1",{"data-loc":"client/src/pages/Home.tsx:258",className:"mt-7 font-serif text-[clamp(3.4rem,8vw,7.5rem)] leading-[.84] tracking-[-0.055em] text-white",children:["Viaja con un",d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:260",className:"block text-[#FFDE17] italic",children:"propósito."})]}),d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:262",className:"mt-8 max-w-xl text-base leading-7 text-[#E2E9F1] sm:text-lg",children:"Experiencias turísticas, viajes de negocios y viajes especiales con vuelos, hospedaje, transporte, tours, traslados y acompañamiento organizado."}),d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:265",className:"mt-10 flex flex-col gap-3 sm:flex-row sm:items-center",children:[d.jsxs("button",{"data-loc":"client/src/pages/Home.tsx:266",onClick:()=>ml("#contacto"),className:"button-copper group",children:["Hablemos de tu ruta",d.jsx(Xp,{"data-loc":"client/src/pages/Home.tsx:268",size:18,className:"transition-transform duration-200 group-hover:translate-x-1 group-hover:translate-y-1"})]}),d.jsxs("button",{"data-loc":"client/src/pages/Home.tsx:270",onClick:()=>ml("#experiencias"),className:"button-ghost",children:["Conoce las rutas",d.jsx(ub,{"data-loc":"client/src/pages/Home.tsx:272",size:17})]})]})]}),d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:277",className:"absolute bottom-9 right-5 hidden items-center gap-3 text-[0.66rem] font-bold uppercase tracking-[0.16em] text-white/75 sm:flex lg:right-12",children:[d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:278",className:"h-px w-10 bg-[#8CC63F]"}),"Turismo · Negocios · Eventos"]})]})]}),d.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:284",id:"experiencias",className:"relative bg-[#F7FCF3] py-24 sm:py-32",children:[d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:285",className:"route-line absolute left-[6.5%] top-0 hidden h-full lg:block","aria-hidden":"true"}),d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:286",className:"relative mx-auto max-w-[1440px] px-5 sm:px-8 lg:px-12",children:[d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:287",className:"grid gap-10 lg:grid-cols-[.8fr_1.2fr] lg:items-end",children:[d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:288",children:[d.jsx(Ra,{"data-loc":"client/src/pages/Home.tsx:289",children:"01 / Servicios que conectan tu viaje"}),d.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:290",className:"mt-6 max-w-md font-serif text-5xl leading-[.9] tracking-[-.045em] text-[#153B5C] sm:text-6xl",children:"Todo lo que tu ruta necesita."})]}),d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:294",className:"max-w-2xl text-lg leading-8 text-[#3F6179]",children:"Proyecta Travel integra cada parte del recorrido para que tengas una experiencia más sencilla, organizada y acompañada, ya sea para descansar, descubrir o avanzar un proyecto de negocio."})]}),d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:299",className:"service-itinerary mt-12 flex flex-wrap items-center gap-x-4 gap-y-2 text-[.62rem] font-extrabold tracking-[.16em] text-[#075D9C]",children:[d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:300",className:"service-itinerary-mark",children:d.jsx("img",{"data-loc":"client/src/pages/Home.tsx:300",src:"/manus-storage/Isotipo_ProyectaTravel_fd1bfe37.jpg",alt:""})}),d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:301",children:"ELIGE EL DESTINO"}),d.jsx("i",{"data-loc":"client/src/pages/Home.tsx:301"})," ",d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:301",children:"ARMAMOS LA RUTA"}),d.jsx("i",{"data-loc":"client/src/pages/Home.tsx:301"})," ",d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:301",children:"TE ACOMPAÑAMOS"})]}),d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:304",className:"mt-16 grid border-l border-t border-[#B4D7E8] sm:grid-cols-2 xl:grid-cols-4",children:a2.map(({icon:p,title:y,text:v},x)=>d.jsxs("article",{"data-loc":"client/src/pages/Home.tsx:306",className:"service-stop group min-h-[260px] border-b border-r border-[#B4D7E8] bg-[#F7FCF3] p-7 transition duration-200 hover:bg-[#E2F4D7] sm:p-8",children:[d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:307",className:"flex items-start justify-between",children:[d.jsx(p,{"data-loc":"client/src/pages/Home.tsx:308",size:25,strokeWidth:1.55,className:"text-[#92278F]"}),d.jsxs("span",{"data-loc":"client/src/pages/Home.tsx:309",className:"text-xs font-bold tracking-[.16em] text-[#5B7990]",children:["0",x+1]})]}),d.jsx("h3",{"data-loc":"client/src/pages/Home.tsx:311",className:"mt-14 font-serif text-2xl leading-none text-[#153B5C]",children:y}),d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:312",className:"mt-4 text-sm leading-6 text-[#3F6179]",children:v}),d.jsx(ro,{"data-loc":"client/src/pages/Home.tsx:313",size:18,className:"mt-5 text-[#92278F] opacity-0 transition duration-200 group-hover:translate-x-1 group-hover:-translate-y-1 group-hover:opacity-100"})]},y))})]})]}),d.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:320",id:"china",className:"relative overflow-hidden bg-[#075D9C] py-24 text-white sm:py-32",children:[d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:321",className:"absolute right-[7%] top-8 z-[1] hidden text-right lg:block","aria-hidden":"true",children:[d.jsx("img",{"data-loc":"client/src/pages/Home.tsx:322",src:"/manus-storage/Isotipo_ProyectaTravel_fd1bfe37.jpg",alt:"",className:"ml-auto h-28 w-28 rounded-full bg-white object-contain p-1 opacity-90 shadow-xl"}),d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:323",className:"mt-1 text-[.56rem] font-extrabold tracking-[.26em] text-white/35",children:"RUTA DE NEGOCIOS · 22.54° N"})]}),d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:325",className:"absolute inset-y-0 right-0 w-full lg:w-[53%]",children:[d.jsx("img",{"data-loc":"client/src/pages/Home.tsx:326",src:"/manus-storage/proyecta-travel-feria-canton-negocios_ce7c5a42.jpg",alt:"Empresarios con acreditaciones en una reunión de negocios durante la Feria de Cantón",className:"h-full w-full object-cover"}),d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:327",className:"image-route-grid","aria-hidden":"true",children:[d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:327"}),d.jsx("i",{"data-loc":"client/src/pages/Home.tsx:327"}),d.jsx("b",{"data-loc":"client/src/pages/Home.tsx:327"})]}),d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:328",className:"absolute inset-0 bg-[linear-gradient(90deg,#075D9C_0%,rgba(7,93,156,.77)_25%,rgba(7,93,156,.1)_100%)]"})]}),d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:330",className:"relative mx-auto max-w-[1440px] px-5 sm:px-8 lg:px-12",children:[d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:331",className:"max-w-2xl",children:[d.jsx(Ra,{"data-loc":"client/src/pages/Home.tsx:332",light:!0,children:"02 / Viajes de negocios"}),d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:333",className:"route-note mt-5",children:[d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:333",className:"route-note-node"})," ESCALA 02 · NORTE DE CHINA → FERIA DE CANTÓN"]}),d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:334",className:"mt-8 text-sm font-bold tracking-[.18em] text-[#FFDE17]",children:"CHINA · FERIA DE CANTÓN"}),d.jsxs("h2",{"data-loc":"client/src/pages/Home.tsx:335",className:"mt-5 font-serif text-5xl leading-[.88] tracking-[-.05em] sm:text-7xl",children:["Las oportunidades no esperan. ",d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:336",className:"text-[#FFDE17] italic",children:"Tu ruta tampoco."})]}),d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:338",className:"mt-7 max-w-xl text-base leading-7 text-[#D9E2EB] sm:text-lg",children:"Una experiencia de negocios en China para empresarios, emprendedores e importadores que buscan aprovechar la Feria de Cantón con una logística organizada y acompañamiento durante el recorrido."}),d.jsxs("button",{"data-loc":"client/src/pages/Home.tsx:341",onClick:()=>ml("#contacto"),className:"button-copper mt-10",children:["Hablemos de tu ruta a China",d.jsx(sb,{"data-loc":"client/src/pages/Home.tsx:343",size:18})]})]}),d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:347",className:"mt-16 grid max-w-5xl gap-3 md:grid-cols-2",children:l2.map(p=>d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:349",className:"flex gap-3 border-t border-white/20 py-4 text-sm leading-6 text-[#E7EDF4]",children:[d.jsx(ql,{"data-loc":"client/src/pages/Home.tsx:350",size:17,className:"mt-1 shrink-0 text-[#8CC63F]"}),p]},p))}),d.jsx("blockquote",{"data-loc":"client/src/pages/Home.tsx:356",className:"mt-12 max-w-3xl border-l-2 border-[#FFDE17] pl-6 font-serif text-2xl leading-snug text-white/95 sm:text-3xl",children:"“No viajes a China a la aventura. Viaja acompañado, con una logística organizada y con el objetivo de aprovechar la Feria de Cantón para conocer proveedores, descubrir productos y abrir nuevas oportunidades para tu negocio.”"})]})]}),d.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:362",id:"grupos",className:"relative overflow-hidden bg-white py-24 sm:py-32",children:[d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:363",className:"route-line absolute left-[6.5%] top-0 hidden h-full lg:block","aria-hidden":"true"}),d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:364",className:"relative mx-auto max-w-[1440px] px-5 sm:px-8 lg:px-12",children:[d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:365",className:"grid gap-10 lg:grid-cols-[1fr_.95fr] lg:items-end",children:[d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:366",children:[d.jsx(Ra,{"data-loc":"client/src/pages/Home.tsx:367",children:"03 / Bodas, grupos y experiencias en destino"}),d.jsxs("h2",{"data-loc":"client/src/pages/Home.tsx:368",className:"mt-6 max-w-2xl font-serif text-5xl leading-[.9] tracking-[-.05em] text-[#153B5C] sm:text-7xl",children:["Tú toma el vuelo. ",d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:369",className:"text-[#92278F] italic",children:"Nosotros nos encargamos"})," de todo lo demás."]})]}),d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:372",className:"border-l-2 border-[#8CC63F] pl-6 lg:mb-2",children:[d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:373",className:"max-w-xl text-lg leading-8 text-[#3F6179]",children:"Más que un viaje o un evento, diseñamos tranquilidad, experiencia, organización y disfrute para tu grupo, de acuerdo con el programa contratado."}),d.jsxs("button",{"data-loc":"client/src/pages/Home.tsx:374",onClick:()=>ml("#contacto"),className:"button-copper mt-7",children:["Hablemos de tu grupo ",d.jsx(Xp,{"data-loc":"client/src/pages/Home.tsx:374",size:18})]})]})]}),d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:378",className:"mt-16 grid border-l border-t border-[#B4D7E8] sm:grid-cols-2 xl:grid-cols-4",children:n2.map(({icon:p,title:y,text:v},x)=>d.jsxs("article",{"data-loc":"client/src/pages/Home.tsx:380",className:"service-stop group min-h-[280px] border-b border-r border-[#B4D7E8] bg-white p-7 transition duration-200 hover:bg-[#F6FCEF] sm:p-8",children:[d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:381",className:"flex items-start justify-between",children:[d.jsx(p,{"data-loc":"client/src/pages/Home.tsx:381",size:26,strokeWidth:1.5,className:"text-[#92278F]"}),d.jsxs("span",{"data-loc":"client/src/pages/Home.tsx:381",className:"text-xs font-bold tracking-[.16em] text-[#5B7990]",children:["0",x+1]})]}),d.jsx("h3",{"data-loc":"client/src/pages/Home.tsx:382",className:"mt-14 font-serif text-3xl leading-none text-[#153B5C]",children:y}),d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:383",className:"mt-4 text-sm leading-6 text-[#3F6179]",children:v})]},y))}),d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:388",className:"mt-16 grid overflow-hidden border border-[#B4D7E8] lg:grid-cols-[.94fr_1.06fr]",children:[d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:389",className:"relative bg-[#075D9C] p-8 text-white sm:p-11",children:[d.jsx("img",{"data-loc":"client/src/pages/Home.tsx:390",src:"/manus-storage/Isotipo_ProyectaTravel_fd1bfe37.jpg",alt:"",className:"h-14 w-14 rounded-full bg-white object-contain p-1"}),d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:391",className:"mt-9 text-xs font-extrabold tracking-[.18em] text-[#FFDE17]",children:"ELLOS DISFRUTAN. NOSOTROS COORDINAMOS."}),d.jsx("h3",{"data-loc":"client/src/pages/Home.tsx:392",className:"mt-4 max-w-lg font-serif text-4xl leading-[.95]",children:"Tu evento empieza desde que subes al avión."}),d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:393",className:"mt-10 space-y-4",children:s2.map((p,y)=>d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:394",className:"grid grid-cols-[28px_1fr] gap-3 border-t border-white/20 pt-4 text-sm leading-6 text-white/90",children:[d.jsxs("span",{"data-loc":"client/src/pages/Home.tsx:394",className:"font-bold text-[#8CC63F]",children:["0",y+1]}),d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:394",children:p})]},p))})]}),d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:397",className:"bg-[#FFF8E7] p-8 sm:p-11",children:[d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:398",className:"text-xs font-extrabold tracking-[.18em] text-[#92278F]",children:"NOS ENCARGAMOS DE LA EXPERIENCIA"}),d.jsx("h3",{"data-loc":"client/src/pages/Home.tsx:399",className:"mt-4 max-w-xl font-serif text-4xl leading-[.96] text-[#153B5C]",children:"El detalle cambia; la tranquilidad se queda."}),d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:400",className:"mt-5 max-w-xl text-base leading-7 text-[#3F6179]",children:"Podemos integrar los servicios que cada boda, empresa, celebración o grupo necesita para vivir el destino con respaldo y acompañamiento."}),d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:401",className:"mt-9 grid gap-x-6 gap-y-4 border-t border-[#A7D49B] pt-7 sm:grid-cols-2",children:i2.map(p=>d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:402",className:"flex items-center gap-3 text-sm font-bold text-[#153B5C]",children:[d.jsx(ql,{"data-loc":"client/src/pages/Home.tsx:402",size:16,className:"shrink-0 text-[#8CC63F]"}),p]},p))})]})]}),d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:407",className:"mt-12 grid gap-5 lg:grid-cols-3",children:[d.jsxs("article",{"data-loc":"client/src/pages/Home.tsx:408",className:"border-t-4 border-[#FFDE17] bg-[#FFF8E7] p-7",children:[d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:408",className:"text-xs font-extrabold tracking-[.16em] text-[#92278F]",children:"PARA NOVIOS"}),d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:408",className:"mt-4 font-serif text-2xl leading-tight text-[#153B5C]",children:"Celebren uno de los días más importantes de su vida en un destino espectacular; nosotros coordinamos el viaje para que ustedes vivan la celebración."})]}),d.jsxs("article",{"data-loc":"client/src/pages/Home.tsx:409",className:"border-t-4 border-[#8CC63F] bg-[#F6FCEF] p-7",children:[d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:409",className:"text-xs font-extrabold tracking-[.16em] text-[#075D9C]",children:"PARA EMPRESAS"}),d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:409",className:"mt-4 font-serif text-2xl leading-tight text-[#153B5C]",children:"Una convención puede generar resultados durante el día y crear recuerdos después del trabajo."})]}),d.jsxs("article",{"data-loc":"client/src/pages/Home.tsx:410",className:"border-t-4 border-[#92278F] bg-[#F3F9FC] p-7",children:[d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:410",className:"text-xs font-extrabold tracking-[.16em] text-[#075D9C]",children:"PARA INVITADOS Y COLABORADORES"}),d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:410",className:"mt-4 font-serif text-2xl leading-tight text-[#153B5C]",children:"Lleguen al destino, compartan con su grupo y disfruten la experiencia. De la logística nos encargamos nosotros."})]})]})]})]}),d.jsx("section",{"data-loc":"client/src/pages/Home.tsx:415",id:"destinos",className:"relative bg-[#EAF8E2] py-24 sm:py-32",children:d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:416",className:"mx-auto max-w-[1440px] px-5 sm:px-8 lg:px-12",children:[d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:417",className:"grid gap-10 lg:grid-cols-[1.1fr_.9fr] lg:items-end",children:[d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:418",children:[d.jsx(Ra,{"data-loc":"client/src/pages/Home.tsx:419",children:"04 / Destinos para desconectar"}),d.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:420",className:"mt-6 max-w-xl font-serif text-5xl leading-[.9] tracking-[-.05em] text-[#153B5C] sm:text-7xl",children:"El descanso también merece una buena ruta."})]}),d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:424",className:"max-w-lg text-lg leading-8 text-[#3F6179]",children:"Del Pacífico al Caribe, seleccionamos el ritmo de viaje que buscas y conectamos transporte, hospedaje y experiencias de acuerdo con cada paquete."})]}),d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:429",className:"mt-16 grid gap-6 xl:grid-cols-[1.12fr_.88fr]",children:[d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:430",className:"relative min-h-[540px] overflow-hidden bg-[#075D9C]",children:[d.jsx("img",{"data-loc":"client/src/pages/Home.tsx:431",src:"/manus-storage/proyecta-travel-playa_c29ae146.jpg",alt:"Experiencia de playa y descanso",className:"absolute inset-0 h-full w-full object-cover"}),d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:432",className:"absolute inset-0 bg-[linear-gradient(0deg,rgba(7,93,156,.88),rgba(7,93,156,.05)_70%)]"}),d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:433",className:"relative flex h-full min-h-[540px] flex-col justify-end p-8 text-white sm:p-11",children:[d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:434",className:"mb-auto flex h-12 w-12 items-center justify-center rounded-full border border-white/50 bg-white/10 backdrop-blur-sm",children:d.jsx(Ab,{"data-loc":"client/src/pages/Home.tsx:434",size:20,className:"text-[#FFDE17]"})}),d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:435",className:"absolute right-7 top-7 flex items-center gap-3 text-[.6rem] font-extrabold tracking-[.16em] text-white/80",children:[d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:435",className:"h-px w-8 bg-[#8CC63F]"})," 23.25° N · 106.41° W"]}),d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:436",className:"text-xs font-bold tracking-[.18em] text-[#FFDE17]",children:"RUTAS DE PLAYA"}),d.jsx("h3",{"data-loc":"client/src/pages/Home.tsx:437",className:"mt-3 max-w-md font-serif text-5xl leading-[.92] tracking-[-.045em]",children:"Escapadas pensadas para bajar el ritmo."}),d.jsxs("button",{"data-loc":"client/src/pages/Home.tsx:438",onClick:()=>ml("#contacto"),className:"mt-7 flex w-fit items-center gap-2 text-sm font-extrabold text-white underline decoration-[#8CC63F] decoration-2 underline-offset-8",children:["Diseñemos tu paquete ",d.jsx(ro,{"data-loc":"client/src/pages/Home.tsx:439",size:16})]})]})]}),d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:444",className:"grid content-start divide-y divide-[#A7D49B] border-t border-[#A7D49B]",children:c2.map(p=>d.jsxs("article",{"data-loc":"client/src/pages/Home.tsx:446",className:"group grid grid-cols-[46px_1fr_auto] gap-3 py-6 transition duration-200 hover:pl-3",children:[d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:447",className:"pt-1 text-xs font-extrabold tracking-[.14em] text-[#92278F]",children:p.number}),d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:448",children:[d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:449",className:"text-[.65rem] font-extrabold uppercase tracking-[.15em] text-[#53728A]",children:p.tag}),d.jsx("h3",{"data-loc":"client/src/pages/Home.tsx:450",className:"mt-2 font-serif text-3xl leading-none text-[#153B5C]",children:p.title}),d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:451",className:"mt-3 max-w-md text-sm leading-6 text-[#3F6179]",children:p.text})]}),d.jsx(ro,{"data-loc":"client/src/pages/Home.tsx:453",size:18,className:"mt-2 text-[#92278F] opacity-0 transition duration-200 group-hover:translate-x-1 group-hover:-translate-y-1 group-hover:opacity-100"})]},p.number))})]})]})}),d.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:461",className:"relative overflow-hidden bg-[#F7FCF3] py-24 sm:py-32",children:[d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:462",className:"event-route-art pointer-events-none absolute right-0 top-0 hidden h-full w-[34%] lg:block","aria-hidden":"true",children:[d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:462"}),d.jsx("i",{"data-loc":"client/src/pages/Home.tsx:462"}),d.jsx("b",{"data-loc":"client/src/pages/Home.tsx:462"})]}),d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:463",className:"mx-auto max-w-[1440px] px-5 sm:px-8 lg:px-12",children:[d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:464",className:"grid gap-12 lg:grid-cols-[.85fr_1.15fr] lg:items-end",children:[d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:465",children:[d.jsx(Ra,{"data-loc":"client/src/pages/Home.tsx:466",children:"05 / Conciertos y eventos"}),d.jsxs("h2",{"data-loc":"client/src/pages/Home.tsx:467",className:"mt-6 font-serif text-5xl leading-[.9] tracking-[-.05em] text-[#153B5C] sm:text-7xl",children:["Una ciudad. ",d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:468",className:"text-[#92278F] italic",children:"Una noche"})," que recordar."]}),d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:470",className:"mt-7 inline-flex items-center gap-3 border-l-2 border-[#FFDE17] pl-3",children:[d.jsx("img",{"data-loc":"client/src/pages/Home.tsx:471",src:"/manus-storage/Isotipo_ProyectaTravel_fd1bfe37.jpg",alt:"",className:"h-8 w-8 rounded-full bg-white object-contain p-0.5 shadow-sm"}),d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:472",className:"text-[.62rem] font-extrabold uppercase tracking-[.14em] text-[#075D9C]",children:"Escala 05 · Ruta musical coordinada"})]})]}),d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:475",className:"max-w-xl text-lg leading-8 text-[#3F6179]",children:"Una ruta coordinada para vivir conciertos y eventos especiales: viaje, hospedaje, boleto de entrada y la logística que permite disfrutar la experiencia desde el primer paso."})]}),d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:480",className:"mt-16 grid overflow-hidden border border-[#A9D5E8] lg:grid-cols-[1.05fr_.95fr]",children:[d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:481",className:"relative min-h-[420px] overflow-hidden bg-[#075D9C]",children:[d.jsx("img",{"data-loc":"client/src/pages/Home.tsx:482",src:"/manus-storage/proyecta-travel-las-vegas_c6b547b0.webp",alt:"Vista nocturna de Las Vegas",className:"h-full w-full object-cover"}),d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:483",className:"image-route-grid","aria-hidden":"true",children:[d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:483"}),d.jsx("i",{"data-loc":"client/src/pages/Home.tsx:483"}),d.jsx("b",{"data-loc":"client/src/pages/Home.tsx:483"})]}),d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:484",className:"absolute inset-0 bg-[linear-gradient(90deg,rgba(7,93,156,.6),transparent)]"}),d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:485",className:"concert-seal",children:[d.jsx("img",{"data-loc":"client/src/pages/Home.tsx:485",src:"/manus-storage/Isotipo_ProyectaTravel_fd1bfe37.jpg",alt:""}),d.jsxs("span",{"data-loc":"client/src/pages/Home.tsx:485",children:["RUTA DE EVENTO",d.jsx("br",{"data-loc":"client/src/pages/Home.tsx:485"}),"LAS VEGAS"]})]}),d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:486",className:"absolute bottom-7 left-7 flex items-center gap-3 text-xs font-bold tracking-[.14em] text-white/85 sm:bottom-9 sm:left-9",children:[d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:487",className:"h-2 w-2 rounded-full bg-[#FFDE17]"})," LAS VEGAS · EXPERIENCIAS ESPECIALES"]}),d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:489",className:"absolute right-6 top-6 rotate-90 origin-top-right text-[.58rem] font-extrabold tracking-[.24em] text-white/75",children:"ESCALA 04 · EVENTOS CON PROPÓSITO"})]}),d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:491",className:"bg-[#EAF8E2] p-7 sm:p-10 lg:p-12",children:[d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:492",className:"text-xs font-extrabold tracking-[.18em] text-[#92278F]",children:"PAQUETES DE CONCIERTO · LAS VEGAS"}),d.jsx("h3",{"data-loc":"client/src/pages/Home.tsx:493",className:"mt-5 max-w-md font-serif text-5xl leading-[.9] text-[#153B5C]",children:"Todo listo para disfrutar la noche."}),d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:494",className:"mt-6 max-w-lg text-base leading-7 text-[#3F6179]",children:"Elige la experiencia que quieres vivir. Las tarjetas incluyen la información confirmada de cada salida y una ruta directa para reservar por WhatsApp."}),d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:495",className:"mt-9 border-y border-[#A7D49B] py-5 text-sm leading-6 text-[#153B5C]",children:[d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:496",className:"font-bold",children:"Todos los paquetes incluyen vuelos, hospedaje y boleto de entrada al concierto."}),d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:497",className:"mt-2 text-[#53728A]",children:"La disponibilidad se confirma al momento de solicitar tu reserva. Aplican restricciones."})]}),d.jsxs("a",{"data-loc":"client/src/pages/Home.tsx:499",href:"https://wa.me/526146679460?text=Hola%20Proyecta%20Travel%2C%20quiero%20informaci%C3%B3n%20sobre%20los%20conciertos%20en%20Las%20Vegas.",target:"_blank",rel:"noreferrer",className:"button-copper mt-8",children:["Reservar por WhatsApp ",d.jsx(Qp,{"data-loc":"client/src/pages/Home.tsx:499",size:18})]})]})]}),d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:503",className:"mt-6 grid gap-6 lg:grid-cols-2",children:o2.map(p=>d.jsxs("article",{"data-loc":"client/src/pages/Home.tsx:505",className:"relative overflow-hidden border border-[#A9D5E8] bg-white p-7 sm:p-9",children:[d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:506",className:"relative -mx-7 -mt-7 mb-7 aspect-[4/3] overflow-hidden sm:-mx-9 sm:-mt-9",children:[d.jsx("img",{"data-loc":"client/src/pages/Home.tsx:507",src:p.visual,alt:p.visualAlt,className:"h-full w-full object-cover"}),d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:508",className:"absolute inset-0 bg-[linear-gradient(120deg,rgba(7,93,156,.52),transparent_58%,rgba(146,39,143,.22))]"}),d.jsxs("span",{"data-loc":"client/src/pages/Home.tsx:509",className:"absolute bottom-4 left-5 flex items-center gap-2 text-[.6rem] font-extrabold tracking-[.16em] text-white",children:[d.jsx("i",{"data-loc":"client/src/pages/Home.tsx:509",className:"h-2 w-2 rounded-full bg-[#FFDE17]"})," LAS VEGAS · RUTA MUSICAL"]})]}),d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:511",className:"absolute right-0 top-0 h-2 w-28 bg-[#92278F]"}),d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:512",className:"flex items-start justify-between gap-6",children:[d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:513",className:"font-serif text-6xl leading-none text-[#075D9C]",children:p.month}),d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:514",className:"rounded-full bg-[#F6FCEF] px-3 py-2 text-[.64rem] font-extrabold uppercase tracking-[.12em] text-[#075D9C]",children:"Disponibilidad por confirmar"})]}),d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:516",className:"mt-8 text-xs font-extrabold uppercase tracking-[.16em] text-[#92278F]",children:"Las Vegas · Concierto"}),d.jsx("h3",{"data-loc":"client/src/pages/Home.tsx:517",className:"mt-3 font-serif text-5xl leading-[.9] text-[#153B5C]",children:p.event}),d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:518",className:"mt-7 grid gap-3 border-y border-[#B4D7E8] py-5 text-sm text-[#3F6179] sm:grid-cols-2",children:[d.jsxs("p",{"data-loc":"client/src/pages/Home.tsx:519",children:[d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:519",className:"block text-[.62rem] font-extrabold uppercase tracking-[.12em] text-[#075D9C]",children:"Fecha de salida"}),d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:519",className:"mt-1 block font-bold text-[#153B5C]",children:p.departure})]}),d.jsxs("p",{"data-loc":"client/src/pages/Home.tsx:520",children:[d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:520",className:"block text-[.62rem] font-extrabold uppercase tracking-[.12em] text-[#075D9C]",children:"Sede"}),d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:520",className:"mt-1 block font-bold text-[#153B5C]",children:p.venue})]})]}),d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:522",className:"mt-6 flex items-end justify-between gap-5",children:[d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:523",children:[d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:523",className:"text-[.62rem] font-extrabold uppercase tracking-[.12em] text-[#53728A]",children:"Por persona · ocupación doble"}),d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:523",className:"mt-1 font-serif text-4xl text-[#153B5C]",children:p.price}),d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:523",className:"mt-1 text-xs text-[#53728A]",children:"Aplican restricciones."})]}),d.jsx(Tb,{"data-loc":"client/src/pages/Home.tsx:524",size:26,className:"mb-2 shrink-0 text-[#8CC63F]"})]}),d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:526",className:"mt-7 rounded-sm bg-[#FFF8E7] p-5",children:[d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:526",className:"text-[.62rem] font-extrabold uppercase tracking-[.14em] text-[#92278F]",children:"Incluye"}),d.jsxs("ul",{"data-loc":"client/src/pages/Home.tsx:526",className:"mt-3 grid gap-2 text-sm font-bold text-[#153B5C]",children:[d.jsxs("li",{"data-loc":"client/src/pages/Home.tsx:526",className:"flex gap-2",children:[d.jsx(ql,{"data-loc":"client/src/pages/Home.tsx:526",size:16,className:"shrink-0 text-[#8CC63F]"}),"Vuelos"]}),d.jsxs("li",{"data-loc":"client/src/pages/Home.tsx:526",className:"flex gap-2",children:[d.jsx(ql,{"data-loc":"client/src/pages/Home.tsx:526",size:16,className:"shrink-0 text-[#8CC63F]"}),"Hospedaje"]}),d.jsxs("li",{"data-loc":"client/src/pages/Home.tsx:526",className:"flex gap-2",children:[d.jsx(ql,{"data-loc":"client/src/pages/Home.tsx:526",size:16,className:"shrink-0 text-[#8CC63F]"}),"Boleto de entrada al concierto"]})]})]}),d.jsxs("a",{"data-loc":"client/src/pages/Home.tsx:527",href:p.whatsapp,target:"_blank",rel:"noreferrer",className:"button-copper mt-7 w-full",children:["Reservar mi lugar ",d.jsx(Qp,{"data-loc":"client/src/pages/Home.tsx:527",size:18})]})]},p.event))})]})]}),d.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:534",id:"paquetes",className:"relative overflow-hidden bg-[#FFF8E7] py-24 text-[#153B5C] sm:py-28",children:[d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:535",className:"pointer-events-none absolute left-[5%] -mt-10 hidden items-center gap-3 text-[.58rem] font-extrabold tracking-[.2em] text-[#153B5C]/70 lg:flex",children:[d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:535",className:"h-2 w-2 rounded-full bg-[#92278F]"})," ITINERARIO ABIERTO · PERSONALIZABLE"]}),d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:536",className:"mx-auto grid max-w-[1440px] gap-12 px-5 sm:px-8 lg:grid-cols-[.86fr_1.14fr] lg:px-12",children:[d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:537",children:[d.jsx(Ra,{"data-loc":"client/src/pages/Home.tsx:538",light:!0,children:"06 / Paquetes que se adaptan a tu ruta"}),d.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:539",className:"mt-6 max-w-md font-serif text-5xl leading-[.9] tracking-[-.05em] sm:text-6xl",children:"Una coordinación. Muchas posibilidades."})]}),d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:541",children:[d.jsx("img",{"data-loc":"client/src/pages/Home.tsx:542",src:"/manus-storage/Isotipo_ProyectaTravel_fd1bfe37.jpg",alt:"Isotipo de Proyecta Travel",className:"mb-5 h-16 w-16 rounded-full bg-white object-contain p-1 shadow-md"}),d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:543",className:"max-w-xl text-lg leading-8 text-[#153B5C]",children:"Cada experiencia puede integrar los elementos adecuados de acuerdo con el producto y programa contratado. Pregunta por las opciones disponibles para tu próximo viaje."}),d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:544",className:"mt-10 grid gap-x-8 gap-y-5 border-t border-[#153B5C]/30 pt-7 sm:grid-cols-2",children:["Vuelos y opciones de transporte","Hospedaje","Transporte terrestre y traslados","Tours, recorridos y actividades","Coordinación logística","Acompañamiento en grupos programados"].map(p=>d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:546",className:"flex items-center gap-3 text-sm font-bold",children:[d.jsx(ql,{"data-loc":"client/src/pages/Home.tsx:547",size:17}),p]},p))})]})]})]}),d.jsx("section",{"data-loc":"client/src/pages/Home.tsx:556",className:"relative bg-[#F7FCF3] py-24 sm:py-32",children:d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:557",className:"mx-auto max-w-[1440px] px-5 sm:px-8 lg:px-12",children:d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:558",className:"grid gap-12 lg:grid-cols-[.88fr_1.12fr] lg:items-center",children:[d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:559",className:"relative border border-[#B4D7E8] bg-white p-8 sm:p-11",children:[d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:560",className:"absolute right-7 top-7 flex h-16 w-16 items-center justify-center overflow-hidden rounded-full bg-white shadow-md",children:d.jsx("img",{"data-loc":"client/src/pages/Home.tsx:560",src:"/manus-storage/Isotipo_ProyectaTravel_fd1bfe37.jpg",alt:"Isotipo de Proyecta Travel",className:"h-full w-full object-contain"})}),d.jsx(Ra,{"data-loc":"client/src/pages/Home.tsx:561",children:"07 / Nosotros"}),d.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:562",className:"mt-7 font-serif text-5xl leading-[.9] tracking-[-.05em] text-[#153B5C]",children:"Pensamos en las conexiones para que tú pienses en el viaje."}),d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:563",className:"mt-12 border-t border-[#B4D7E8] pt-6",children:[d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:564",className:"text-xs font-extrabold uppercase tracking-[.16em] text-[#92278F]",children:"Proyecta Travel"}),d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:565",className:"mt-3 text-sm leading-6 text-[#3F6179]",children:"Agencia y operador de experiencias de viaje con un enfoque práctico: crear, organizar y acompañar rutas turísticas, de negocios y especiales."})]})]}),d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:568",children:[d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:569",className:"font-serif text-3xl leading-tight text-[#153B5C] sm:text-4xl",children:"Somos el intermediario y coordinador entre viajeros, aerolíneas, hoteles, líneas de autobuses, transportistas y operadores turísticos."}),d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:570",className:"mt-7 max-w-2xl text-base leading-7 text-[#3F6179]",children:"Desde una escapada de playa hasta una experiencia de negocios en China o una salida a Las Vegas para disfrutar un concierto, nuestro objetivo es ayudarte a vivir un viaje con una logística organizada y acompañada."}),d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:571",className:"mt-9 flex flex-wrap gap-3",children:["Turismo","Negocios","Eventos","Grupos"].map(p=>d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:572",className:"rounded-full border border-[#A7D49B] bg-white px-4 py-2 text-xs font-bold tracking-[.1em] text-[#075D9C]",children:p},p))})]})]})})}),d.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:579",id:"contacto",className:"relative scroll-mt-4 overflow-hidden bg-[#075D9C] py-24 text-white sm:py-32",children:[d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:580",className:"contact-route-map pointer-events-none absolute left-0 top-0 hidden h-full w-[29%] lg:block","aria-hidden":"true",children:[d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:580"}),d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:580"}),d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:580"})]}),d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:581",className:"mx-auto max-w-[1440px] px-5 sm:px-8 lg:px-12",children:d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:582",className:"grid gap-14 lg:grid-cols-[.8fr_1.2fr]",children:[d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:583",children:[d.jsx(Ra,{"data-loc":"client/src/pages/Home.tsx:584",light:!0,children:"08 / Hablemos de tu próxima ruta"}),d.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:585",className:"mt-6 font-serif text-5xl leading-[.9] tracking-[-.05em] sm:text-6xl",children:"Tu itinerario empieza con una conversación."}),d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:586",className:"mt-7 max-w-md text-base leading-7 text-[#D8E1EB]",children:"Cuéntanos qué experiencia tienes en mente. Podemos orientarte sobre viajes turísticos, rutas de negocios, eventos y paquetes disponibles."}),d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:587",className:"mt-10 grid gap-4",children:[d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:588",className:"flex items-center gap-4 border-t border-white/20 py-4",children:[d.jsx(db,{"data-loc":"client/src/pages/Home.tsx:588",size:19,className:"text-[#FFDE17]"}),d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:588",className:"text-sm",children:"Planeemos tu próximo viaje"})]}),d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:589",className:"flex items-center gap-4 border-t border-white/20 py-4",children:[d.jsx(rb,{"data-loc":"client/src/pages/Home.tsx:589",size:19,className:"text-[#8CC63F]"}),d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:589",className:"text-sm",children:"Conoce próximos viajes y aparta tu lugar"})]}),d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:590",className:"flex items-center gap-4 border-t border-white/20 py-4",children:[d.jsx(Ig,{"data-loc":"client/src/pages/Home.tsx:590",size:19,className:"text-[#D126B8]"}),d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:590",className:"text-sm",children:"Solicita información por WhatsApp o redes sociales"})]})]})]}),d.jsx("form",{"data-loc":"client/src/pages/Home.tsx:594",onSubmit:f,className:"border border-white/20 bg-white/[.055] p-6 backdrop-blur-sm sm:p-10","aria-label":"Formulario de cotización",children:r?d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:596",className:"flex min-h-[400px] flex-col justify-center",children:[d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:597",className:"flex h-14 w-14 items-center justify-center rounded-full bg-[#8CC63F] text-[#153B5C]",children:d.jsx(ql,{"data-loc":"client/src/pages/Home.tsx:597",size:26})}),d.jsx("h3",{"data-loc":"client/src/pages/Home.tsx:598",className:"mt-7 font-serif text-5xl leading-none",children:"Solicitud preparada."}),d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:599",className:"mt-5 max-w-md leading-7 text-[#D8E1EB]",children:"Gracias por compartir tu interés. Proyecta Travel podrá utilizar estos datos para orientarte sobre la ruta que buscas."}),d.jsx("button",{"data-loc":"client/src/pages/Home.tsx:600",type:"button",onClick:()=>c(!1),className:"mt-8 w-fit text-sm font-extrabold text-[#FFDE17] underline underline-offset-8",children:"Enviar otra consulta"})]}):d.jsxs(d.Fragment,{children:[d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:604",className:"text-xs font-extrabold tracking-[.16em] text-[#FFDE17]",children:"SOLICITA ASESORÍA"}),d.jsx("h3",{"data-loc":"client/src/pages/Home.tsx:605",className:"mt-3 font-serif text-4xl",children:"Cuéntanos tu idea."}),d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:606",className:"mt-9 grid gap-6 sm:grid-cols-2",children:[d.jsxs("label",{"data-loc":"client/src/pages/Home.tsx:607",className:"field-label sm:col-span-1",children:["Nombre",d.jsx("input",{"data-loc":"client/src/pages/Home.tsx:607",required:!0,name:"nombre",placeholder:"Tu nombre",className:"field-input"})]}),d.jsxs("label",{"data-loc":"client/src/pages/Home.tsx:608",className:"field-label sm:col-span-1",children:["Teléfono",d.jsx("input",{"data-loc":"client/src/pages/Home.tsx:608",required:!0,name:"telefono",inputMode:"tel",placeholder:"Tu teléfono",className:"field-input"})]}),d.jsxs("label",{"data-loc":"client/src/pages/Home.tsx:609",className:"field-label sm:col-span-2",children:["Correo electrónico",d.jsx("input",{"data-loc":"client/src/pages/Home.tsx:609",required:!0,type:"email",name:"correo",placeholder:"tu@correo.com",className:"field-input"})]}),d.jsxs("label",{"data-loc":"client/src/pages/Home.tsx:610",className:"field-label sm:col-span-2",children:["¿Qué experiencia te interesa?",d.jsxs("select",{"data-loc":"client/src/pages/Home.tsx:610",required:!0,defaultValue:"",name:"experiencia",className:"field-input appearance-none",children:[d.jsx("option",{"data-loc":"client/src/pages/Home.tsx:610",value:"",disabled:!0,children:"Selecciona una opción"}),d.jsx("option",{"data-loc":"client/src/pages/Home.tsx:610",value:"china",children:"Viaje de negocios a China"}),d.jsx("option",{"data-loc":"client/src/pages/Home.tsx:610",value:"vacaciones",children:"Vacaciones y destinos nacionales"}),d.jsx("option",{"data-loc":"client/src/pages/Home.tsx:610",value:"eventos",children:"Conciertos y eventos"}),d.jsx("option",{"data-loc":"client/src/pages/Home.tsx:610",value:"paquete",children:"Paquete turístico"}),d.jsx("option",{"data-loc":"client/src/pages/Home.tsx:610",value:"otro",children:"Otro viaje"})]})]}),d.jsxs("label",{"data-loc":"client/src/pages/Home.tsx:611",className:"field-label sm:col-span-2",children:["Cuéntanos más",d.jsx("textarea",{"data-loc":"client/src/pages/Home.tsx:611",name:"mensaje",rows:4,placeholder:"Destino, fechas aproximadas, número de viajeros o lo que imaginas...",className:"field-input resize-none"})]})]}),d.jsxs("button",{"data-loc":"client/src/pages/Home.tsx:613",type:"submit",className:"button-copper mt-8",children:["Enviar solicitud ",d.jsx(ro,{"data-loc":"client/src/pages/Home.tsx:613",size:18})]}),d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:614",className:"mt-5 text-xs leading-5 text-[#BFCBDA]",children:"Los detalles de salida, disponibilidad, hospedaje y condiciones se confirman directamente con Proyecta Travel."})]})})]})})]}),d.jsx("footer",{"data-loc":"client/src/pages/Home.tsx:622",className:"bg-[#153B5C] text-white",children:d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:623",className:"mx-auto flex max-w-[1440px] flex-col justify-between gap-8 px-5 py-10 sm:px-8 md:flex-row md:items-end lg:px-12",children:[d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:624",className:"flex items-center gap-3",children:d.jsx("img",{"data-loc":"client/src/pages/Home.tsx:625",src:"/manus-storage/Imagotipo_ProyectaTravel_615fd2af.webp",alt:"Proyecta Travel",className:"h-16 w-[215px] rounded-md bg-white p-2 object-contain"})}),d.jsxs("p",{"data-loc":"client/src/pages/Home.tsx:627",className:"max-w-md text-sm leading-6 text-[#C8D2DD]",children:["José López Portillo 598",d.jsx("br",{"data-loc":"client/src/pages/Home.tsx:628"}),"Unidad Presidentes, Chihuahua, Chihuahua, México.",d.jsx("br",{"data-loc":"client/src/pages/Home.tsx:629"}),"+52 614 667 94 60 · +52 614 667 9455"]}),d.jsxs("p",{"data-loc":"client/src/pages/Home.tsx:632",className:"text-xs font-bold tracking-[.1em] text-white/50",children:["© ",new Date().getFullYear()," PROYECTA TRAVEL"]})]})})]})}function u2(){return d.jsxs(Pb,{"data-loc":"client/src/App.tsx:12",children:[d.jsx(Wr,{"data-loc":"client/src/App.tsx:13",path:"/",component:r2}),d.jsx(Wr,{"data-loc":"client/src/App.tsx:14",path:"/404",component:Ip}),d.jsx(Wr,{"data-loc":"client/src/App.tsx:15",component:Ip})]})}function f2(){return d.jsx(Ib,{"data-loc":"client/src/App.tsx:22",children:d.jsx(t2,{"data-loc":"client/src/App.tsx:23",defaultTheme:"light",children:d.jsxs($1,{"data-loc":"client/src/App.tsx:24",children:[d.jsx(cv,{"data-loc":"client/src/App.tsx:25"}),d.jsx(u2,{"data-loc":"client/src/App.tsx:26"})]})})})}Cx.createRoot(document.getElementById("root")).render(d.jsx(f2,{"data-loc":"client/src/main.tsx:5"}));